mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(mobile): oauth login flow
This commit is contained in:
parent
c26b28f6a4
commit
7fd0b41f30
@ -210,6 +210,9 @@ class LoginForm extends HookConsumerWidget {
|
|||||||
.getOAuthServerUrl(sanitizeUrl(serverEndpointController.text));
|
.getOAuthServerUrl(sanitizeUrl(serverEndpointController.text));
|
||||||
|
|
||||||
isLoading.value = true;
|
isLoading.value = true;
|
||||||
|
|
||||||
|
// Invalidate all api repository provider instance to take into account new access token
|
||||||
|
invalidateAllApiRepositoryProviders(ref);
|
||||||
} catch (error, stack) {
|
} catch (error, stack) {
|
||||||
log.severe('Error getting OAuth server Url: $error', stack);
|
log.severe('Error getting OAuth server Url: $error', stack);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user