We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3797ebc + 3133738 commit 937f0c9Copy full SHA for 937f0c9
1 file changed
app/controllers/sessions_controller.rb
@@ -12,6 +12,7 @@ def create
12
flash[:remember_login] = true
13
redirect_to_with_return_to root_path
14
rescue Postal::Errors::AuthenticationError
15
+ Postal.logger.error "Invalid credentials for #{request.remote_ip}", component: "postal-web"
16
flash.now[:alert] = "The credentials you've provided are incorrect. Please check and try again."
17
render "new"
18
end
0 commit comments