1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-01-17 21:39:47 +00:00

style(rubocop): Lint/UselessAssignment

هذا الالتزام موجود في:
Adam Cooke
2024-02-10 17:16:45 +00:00
الأصل 25d7d66b47
التزام 7590a46234
12 ملفات معدلة مع 18 إضافات و20 حذوفات

عرض الملف

@@ -10,7 +10,7 @@ class SessionsController < ApplicationController
login(User.authenticate(params[:email_address], params[:password]))
flash[:remember_login] = true
redirect_to_with_return_to root_path
rescue Postal::Errors::AuthenticationError => e
rescue Postal::Errors::AuthenticationError
flash.now[:alert] = "The credentials you've provided are incorrect. Please check and try again."
render "new"
end