diff options
author | Go MAEDA <maeda@farend.jp> | 2020-11-09 02:41:50 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-11-09 02:41:50 +0000 |
commit | d9771fbe44a96258aae35d16e586ff1af3d36017 (patch) | |
tree | d8df4c6dd5576cdc286fdb2bb2f190e28fb40593 | |
parent | a4a3d292bc11372ff5d0a48c7bf5327d958e063f (diff) | |
download | redmine-d9771fbe44a96258aae35d16e586ff1af3d36017.tar.gz redmine-d9771fbe44a96258aae35d16e586ff1af3d36017.zip |
otpauth uri should include a login id, not an email address (#1237, #34233).
git-svn-id: http://svn.redmine.org/redmine/trunk@20307 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redmine/twofa/totp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/twofa/totp.rb b/lib/redmine/twofa/totp.rb index e304208a2..603661350 100644 --- a/lib/redmine/twofa/totp.rb +++ b/lib/redmine/twofa/totp.rb @@ -50,7 +50,7 @@ module Redmine end def provisioning_uri - totp.provisioning_uri(@user.mail) + totp.provisioning_uri(@user.login) end def init_pairing_view_variables |