Fix logging of user in /jwt/auth
Previously the `user_id` and `username` would be logged as `null` in `production_json.log` for any user that accessed the container registry. Unlike other descendants of `ApplicationController` that use Devise, `JwtController` authenticates users via `@authentication_result`. We now override `auth_user` to get this information in the logs.
Showing
Please register or sign in to comment