diff --git a/app/controllers/users/sessions_controller.rb b/app/controllers/users/sessions_controller.rb index 568ead27b..e3915e25f 100644 --- a/app/controllers/users/sessions_controller.rb +++ b/app/controllers/users/sessions_controller.rb @@ -7,7 +7,7 @@ class Users::SessionsController < Devise::SessionsController resource.errors.add :email, "Enter an email address in the correct format, like name@example.com" end if params.dig("user", "password").empty? - resource.errors.add :password, "Please enter password" + resource.errors.add :password, "Enter a password" end if resource.errors.present? render :new, status: :unprocessable_entity