songtianlun
286ca3419f
- Change the render method to include a status of :unprocessable_entity when the email/password combination is invalid. - This change improves the API response for invalid login attempts, allowing clients to better handle errors. |
||
---|---|---|
.. | ||
concerns | ||
application_controller.rb | ||
sessions_controller.rb | ||
static_pages_controller.rb | ||
users_controller.rb |