quash-max
quash-max copied to clipboard
Revamp User Controller
Issue Description
Refactor the User Controller by removing the use of authentication.getAuthenticated() and implement authentication handling using try-catch blocks.
Expected Behavior
The User Controller should robustly manage authentication errors through proper exception handling, enhancing overall stability.
Actual Behavior
The current implementation relies on authentication.getAuthenticated(), which may not adequately handle exceptions.