diff options
| author | Vitaliy Serov <154601125+VitaliySerov@users.noreply.github.com> | 2024-01-25 20:46:39 +0300 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-02-02 19:26:57 +0000 |
| commit | 064f251571f6d96ff3edcd81e6743eb617f66db9 (patch) | |
| tree | ef0b8713bd38aae908215f77d9e8653c03e34fde /lib | |
| parent | 420a6349ec299c086320ab90af96776d73de0957 (diff) | |
[rubygems/rubygems] Change gem login message to clear up that username can be also used
https://github.com/rubygems/rubygems/commit/2bf6163eaf
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rubygems/gemcutter_utilities.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/gemcutter_utilities.rb b/lib/rubygems/gemcutter_utilities.rb index 796938c40b..de617ccc9f 100644 --- a/lib/rubygems/gemcutter_utilities.rb +++ b/lib/rubygems/gemcutter_utilities.rb @@ -130,8 +130,8 @@ module Gem::GemcutterUtilities say "The existing key doesn't have access of #{scope} on #{pretty_host}. Please sign in to update access." - email = ask " Email: " - password = ask_for_password "Password: " + email = ask "Username/email: " + password = ask_for_password " Password: " response = rubygems_api_request(:put, "api/v1/api_key", sign_in_host, scope: scope) do |request| |
