diff options
author | Ashley Ellis Pierce <anellis12@gmail.com> | 2023-01-23 16:21:48 -0500 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-12 11:56:33 +0900 |
commit | 774d1f1a0067e16a3dfdd0aed4bae66143de2140 (patch) | |
tree | c9016c0d1ab82107c696365ed0b933e33d0cbb92 /lib | |
parent | 096f6eec3e6be23991e752a6ce56a2efca7a47c9 (diff) | |
download | ruby-774d1f1a0067e16a3dfdd0aed4bae66143de2140.tar.gz |
Merge lines
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/gemcutter_utilities.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/gemcutter_utilities.rb b/lib/rubygems/gemcutter_utilities.rb index 7556753f58..85ea26062f 100644 --- a/lib/rubygems/gemcutter_utilities.rb +++ b/lib/rubygems/gemcutter_utilities.rb @@ -251,8 +251,7 @@ module Gem::GemcutterUtilities end def ask_otp(credentials) - webauthn_url = webauthn_verification_url(credentials) - if webauthn_url + if webauthn_url = webauthn_verification_url(credentials) say "You have enabled multi-factor authentication. Please enter OTP code from your security device by visiting #{webauthn_url}." else say "You have enabled multi-factor authentication. Please enter OTP code." |