Skip to content

Commit

Permalink
Fixed proxy auth bug
Browse files Browse the repository at this point in the history
  • Loading branch information
drakylar committed Jan 20, 2022
1 parent 623ac16 commit d64001c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion routes/ui/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ def decorated_view(*args, **kwargs):
@routes.route('/')
@requires_authorization
@check_session
def index():
def index(current_user):
if current_user:
return redirect('/projects/')
return render_template('index.html')


Expand Down

0 comments on commit d64001c

Please sign in to comment.