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