mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 18:53:11 -04:00
Logout functionality and test added.
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
from flask import render_template
|
||||
|
||||
from flask_login import login_required
|
||||
from app.main import main
|
||||
|
||||
|
||||
from ._jobs import jobs
|
||||
|
||||
|
||||
@main.route("/dashboard")
|
||||
@login_required
|
||||
def dashboard():
|
||||
return render_template(
|
||||
'views/dashboard.html',
|
||||
|
||||
Reference in New Issue
Block a user