scorelab / OpenMF

An Open Source Mobile Forensics Investigation Tool for Android Platform
Apache License 2.0
150 stars 97 forks source link

[Backend] Unauthorized Handler is not defined for login_required routes #73

Closed sachinsom93 closed 3 years ago

sachinsom93 commented 3 years ago

Describe the bug All the routes which are protected by login_required decorator returns a internal server error response, this might leads to crash app, so a handler is required for unauthorized users.

To Reproduce Try to access any route that is protected using login_required decorator.

Expected behavior Should return a 401(Unauthorized response) error message.

Screenshots Bug

Desktop (please complete the following information):