Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show better error message when registration is disabled #455

Open
SuperSandro2000 opened this issue Jun 14, 2022 · 3 comments
Open

Show better error message when registration is disabled #455

SuperSandro2000 opened this issue Jun 14, 2022 · 3 comments

Comments

@SuperSandro2000
Copy link
Contributor

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.

@Suya1671
Copy link

Suya1671 commented Jul 2, 2022

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?

@conradludgate
Copy link
Collaborator

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

@SuperSandro2000
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants