Skip to content

Commit

Permalink
Merge pull request #16 from vuLgAr/master
Browse files Browse the repository at this point in the history
renamed dupe named function to correct html error code
  • Loading branch information
mjhea0 committed Oct 24, 2016
2 parents ba6831f + e9ab897 commit 75694ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def load_user(user_id):
########################

@app.errorhandler(401)
def forbidden_page(error):
def unauthorized_page(error):
return render_template("errors/401.html"), 401


Expand Down

0 comments on commit 75694ce

Please sign in to comment.