[rubygems/rubygems] Change gem login message to clear up that username can be also used

2bf6163eaf
This commit is contained in:
Vitaliy Serov 2024-01-25 20:46:39 +03:00 committed by git
parent 420a6349ec
commit 064f251571

View file

@ -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." say "The existing key doesn't have access of #{scope} on #{pretty_host}. Please sign in to update access."
email = ask " Email: " email = ask "Username/email: "
password = ask_for_password "Password: " password = ask_for_password " Password: "
response = rubygems_api_request(:put, "api/v1/api_key", response = rubygems_api_request(:put, "api/v1/api_key",
sign_in_host, scope: scope) do |request| sign_in_host, scope: scope) do |request|