mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 05:53:13 -04:00
Updated flask-login to version 0.3.2
This commit is contained in:
@@ -18,7 +18,7 @@ def choose_service():
|
||||
@main.route("/services-or-dashboard")
|
||||
def show_all_services_or_dashboard():
|
||||
|
||||
if not current_user.is_authenticated():
|
||||
if not current_user.is_authenticated:
|
||||
return redirect(url_for('.index'))
|
||||
|
||||
services = service_api_client.get_services({'user_id': current_user.id})['data']
|
||||
|
||||
Reference in New Issue
Block a user