throw exception for empty sessionCookie
This commit is contained in:
parent
460b9c5298
commit
7f0200885c
@ -653,6 +653,10 @@ class AuthentikUserSettingsChangeDialogState extends ChangeNotifier {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sessionCookie == null) {
|
||||||
|
throw Exception("No session cookie obtained.");
|
||||||
|
}
|
||||||
|
|
||||||
_status = AuthentikUserSettingsChangeDialogStatus.loadingUserSettings;
|
_status = AuthentikUserSettingsChangeDialogStatus.loadingUserSettings;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user