mirror of
https://github.com/immich-app/immich.git
synced 2025-07-08 10:44:15 -04:00
fix(mobile): oauth-mobile-first-login (#17173)
invalidate ref Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
6341962de4
commit
cc393b2b7b
@ -210,6 +210,9 @@ class LoginForm extends HookConsumerWidget {
|
||||
.getOAuthServerUrl(sanitizeUrl(serverEndpointController.text));
|
||||
|
||||
isLoading.value = true;
|
||||
|
||||
// Invalidate all api repository provider instance to take into account new access token
|
||||
invalidateAllApiRepositoryProviders(ref);
|
||||
} catch (error, stack) {
|
||||
log.severe('Error getting OAuth server Url: $error', stack);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user