minor
This commit is contained in:
parent
179112e005
commit
2cacf20393
@ -98,6 +98,7 @@ async def auth_stage():
|
|||||||
raise AuthError("Already logged in")
|
raise AuthError("Already logged in")
|
||||||
else:
|
else:
|
||||||
write(ok("Login successful"))
|
write(ok("Login successful"))
|
||||||
|
return username
|
||||||
except AuthError as ae:
|
except AuthError as ae:
|
||||||
write(err(f"Auth Failed: {ae}"))
|
write(err(f"Auth Failed: {ae}"))
|
||||||
except ClientQuit as c:
|
except ClientQuit as c:
|
||||||
|
Loading…
Reference in New Issue
Block a user