dolt icon indicating copy to clipboard operation
dolt copied to clipboard

'dolt login' always creates new credentials, even if they are unncesssary.

Open reltuk opened this issue 4 years ago • 2 comments

It's probably rare that the user actually wants to create new credentials and associate them with a different dolthub account. If credentials already exist and they already work with the registered remote, should we prompt for behavior, or have the user pass --new-credentails or something if they really want to re-login?

reltuk avatar Aug 09 '19 16:08 reltuk

@reltuk is this still open?

oscarbatori avatar Dec 27 '19 13:12 oscarbatori

It's still the behavior, but we need to design a more ergonomic behavior before we fix it. Should we just tell you who you're logged in as if you're already logged in, and pass --new or something to the command if you actually do want new credentials?

reltuk avatar Jan 07 '20 00:01 reltuk