diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-02-26 09:13:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-02-26 09:13:12 +0000 |
commit | d6f9e576e88dae3aeec6a4997d1dcf00c9821878 (patch) | |
tree | 6fb8f14474e8e5ea96f017af2bf5770dcb80c009 /app/models/user.rb | |
parent | f1d16bc0076de863c4a419c555079016280752fa (diff) | |
download | redmine-d6f9e576e88dae3aeec6a4997d1dcf00c9821878.tar.gz redmine-d6f9e576e88dae3aeec6a4997d1dcf00c9821878.zip |
Makes AuthSource.authenticate return a hash instead of an array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3492 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 8a69fda00..2387e5834 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -111,7 +111,7 @@ class User < Principal # user is not yet registered, try to authenticate with available sources attrs = AuthSource.authenticate(login, password) if attrs - user = new(*attrs) + user = new(attrs) user.login = login user.language = Setting.default_language if user.save |