mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Empty server manage server list should not automatically log you out, oauth fix
This commit is contained in:
parent
2f552ca87f
commit
21400679b6
@ -63,9 +63,6 @@ def logout():
|
||||
@discord_users_only()
|
||||
def dashboard():
|
||||
guilds = get_user_managed_servers()
|
||||
if not guilds:
|
||||
session["redirect"] = url_for("user.dashboard")
|
||||
return redirect(url_for("user.logout"))
|
||||
error = request.args.get("error")
|
||||
if session["redirect"] and not (error and error == "access_denied"):
|
||||
redir = session['redirect']
|
||||
|
Loading…
Reference in New Issue
Block a user