forked from rDrama/rDrama
master
parent
0c46e431fd
commit
5327fe5992
|
@ -150,6 +150,7 @@ def login_post():
|
|||
redir = redir.replace("/logged_out", "").strip()
|
||||
if not redir.startswith(SITE_FULL) and not redir.startswith('/'): redir = '/'
|
||||
|
||||
if redir:
|
||||
if redir.startswith(SITE_FULL): return redirect(redir)
|
||||
if redir.startswith('/'): return redirect(f'{SITE_FULL}{redir}')
|
||||
return redirect(f'{SITE_FULL}/')
|
||||
|
|
Loading…
Reference in New Issue