]> source.dussan.org Git - redmine.git/commit
Changes User.try_to_login to catch and log AuthSourceExceptions, and introduces User...
authorGo MAEDA <maeda@farend.jp>
Wed, 2 Dec 2020 13:56:15 +0000 (13:56 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 2 Dec 2020 13:56:15 +0000 (13:56 +0000)
commit1dcebf8ce02dffe34f8b1f08682119d8a4860032
tree311db26005812c67fca32bbbcc14c7b126bf68e3
parentf9d6dc3031b8f5d44cc3cf10c1e5e47ace5448be
Changes User.try_to_login to catch and log AuthSourceExceptions, and introduces User.try_to_login! replicating the original behavior (#34071).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@20547 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/account_controller.rb
app/models/user.rb
test/unit/user_test.rb