Skip to content

Commit 75694ce

Browse files
authored
Merge pull request #16 from vuLgAr/master
renamed dupe named function to correct html error code
2 parents ba6831f + e9ab897 commit 75694ce

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)