jpvanhal / flask-basicauth

HTTP basic access authentication for Flask.
https://flask-basicauth.readthedocs.io/
Other
85 stars 27 forks source link

Use abort() instead of Response() #26

Open md2perpe opened 4 years ago

md2perpe commented 4 years ago

This makes an Unauthorized exception be thrown so that extra information can be added to the response by an @app.errorhandler(401).