This commit is contained in:
2023-09-03 12:22:27 +08:00
parent ade2bb2113
commit 95b8435f78
16 changed files with 555 additions and 34 deletions

View File

@@ -181,7 +181,7 @@ class _CreateRootUserPage extends State<CreateRootUserPage>
});
_createRootUser(_username, _password).then((re) {
if (re) {
auth.clear();
clearAllStates(context);
context.canPop()
? context.pop()
: context.go("/");