We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Authentication controller is returning a 500 even after rescuing from error:
09:40:35 api.1 | Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.6ms) 09:40:35 api.1 | 09:40:35 api.1 | 09:40:35 api.1 | 09:40:35 api.1 | AuthenticationError (Invalid Credentials): 09:40:35 api.1 | 09:40:35 api.1 | app/services/user_authenticator.rb:11:in `generate_auth_token' 09:40:35 api.1 | app/controllers/authentication_controller.rb:6:in `authenticate'
Sorry, something went wrong.
def authenticate token = UserAuthenticator.new(params[:email], params[:password]).generate_auth_token render json: {token: token}, status: 200 rescue AuthenticationError => e render json: {errors: e.message}, status: 401 end
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: