forked from MarseyWorld/MarseyWorld
fdssfd
parent
06103e07b6
commit
11fa6ed9a8
|
@ -48,7 +48,7 @@ def auth_desired(f):
|
||||||
v = get_logged_in_user()
|
v = get_logged_in_user()
|
||||||
|
|
||||||
if request.host == 'old.rdrama.net' and not (v and v.admin_level) and '/log' not in request.path:
|
if request.host == 'old.rdrama.net' and not (v and v.admin_level) and '/log' not in request.path:
|
||||||
return redirect(request.full_path.replace('old.',''))
|
return request.full_path.replace('old.','')
|
||||||
check_ban_evade(v)
|
check_ban_evade(v)
|
||||||
|
|
||||||
resp = make_response(f(*args, v=v, **kwargs))
|
resp = make_response(f(*args, v=v, **kwargs))
|
||||||
|
|
Loading…
Reference in New Issue