hidden roles integration

This commit is contained in:
Xevion
2019-07-03 16:21:01 -05:00
parent 7bf1f54b22
commit fb8ba3b79e
2 changed files with 30 additions and 9 deletions

View File

@@ -33,12 +33,12 @@ def unauthorized(e):
@app.route('/dashboard')
@login_required
def dashboard():
render_template('dashboard.html')
return render_template('dashboard.html')
@app.route('/profile/')
@login_required
def profile():
render_template('profile.html')
return render_template('profile.html')
@app.route('/userinfo/')
def user_info():