Skip to content

Commit e9ab897

Browse files
committed
renamed dupe named function to correct html error code
1 parent ba6831f commit e9ab897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/server/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def load_user(user_id):
7272
########################
7373

7474
@app.errorhandler(401)
75-
def forbidden_page(error):
75+
def unauthorized_page(error):
7676
return render_template("errors/401.html"), 401
7777

7878

0 commit comments

Comments
 (0)