atuin icon indicating copy to clipboard operation
atuin copied to clipboard

Show better error message when registration is disabled

Open SuperSandro2000 opened this issue 2 years ago • 3 comments

Right now you get the following:

$ atuin register ....
Error: failed to register user

Location:
    /build/source/atuin-client/src/api_client.rs:61:9

If you forgot that you disabled registration you'd think that something is broken. Mentioning that registration is closed would be awesome.

SuperSandro2000 avatar Jun 14 '22 12:06 SuperSandro2000

Right now you get the following:

$ atuin register ....
Error: failed to register user

Location:
    /build/source/atuin-client/src/api_client.rs:61:9

If you forgot that you disabled registration you'd think that something is broken. Mentioning that registration is closed would be awesome.

Why is registration closed?

Suya1671 avatar Jul 02 '22 20:07 Suya1671

Right now you get the following:

$ atuin register ....
Error: failed to register user

Location:
    /build/source/atuin-client/src/api_client.rs:61:9

If you forgot that you disabled registration you'd think that something is broken. Mentioning that registration is closed would be awesome.

Why is registration closed?

The public sync server is not closed for new registrations. But people run their own private sync servers and they disable the registration

conradludgate avatar Jul 03 '22 07:07 conradludgate

The public sync server is not closed for new registrations. But people run their own private sync servers and they disable the registration

Yes. If I only need one account I can close it.

SuperSandro2000 avatar Jul 30 '22 15:07 SuperSandro2000