Skip to content

Commit

Permalink
Fix login rerouting for app blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
smathot committed Jan 15, 2024
1 parent 5a1fa0c commit 2e112b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heymans/routes/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def logout():
def main():
if current_user.is_authenticated:
return chat_page()
return redirect(url_for('login'))
return redirect(url_for('app.login'))

@app_blueprint.route('/chat')
@login_required
Expand Down

0 comments on commit 2e112b9

Please sign in to comment.