Move nested functions

This commit is contained in:
Peter Stockings
2024-12-29 22:59:08 +11:00
parent 91b3ef0e7e
commit 6291c37820
3 changed files with 131 additions and 134 deletions

View File

@@ -35,5 +35,4 @@ def login():
def logout():
logout_user() # Logs out the current user
flash('You have been logged out.', 'success')
return redirect(url_for('auth.login')) # Redirect to login page or home page
return redirect(url_for('auth.login')) # Redirect to login page or home page