1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Fix RuboCop offense Lint/UselessRescue (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@22035 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2023-01-11 14:03:28 +00:00
parent 7cf89bf44e
commit 59775bde9f

View File

@ -235,8 +235,6 @@ class User < Principal
end
user.update_last_login_on! if user && !user.new_record? && user.active?
user
rescue => text
raise text
end
# Returns the user who matches the given autologin +key+ or nil