mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-10 20:09:00 -06:00
hidden roles integration
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user