mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-08-10 07:16:37 +02:00
should be embeded now
This commit is contained in:
@ -159,7 +159,7 @@ def change_password():
|
||||
# handle login failed
|
||||
@app.errorhandler(401)
|
||||
def unauthorized(e):
|
||||
return(render_template("login.html"))
|
||||
return(redirect("login"))
|
||||
|
||||
|
||||
# callback to reload the user object
|
||||
@ -363,6 +363,10 @@ def logs():
|
||||
print(configs)
|
||||
return(render_template("logs.html", data=configs))
|
||||
|
||||
@app.route("/stats/", methods=["GET", "POST"])
|
||||
def logs():
|
||||
return(render_template("stats.html"))
|
||||
|
||||
|
||||
|
||||
@app.route('/download/<path:filename>', methods=['GET', 'POST'])
|
||||
|
Reference in New Issue
Block a user