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

fix: changed ask admin message #2215

Merged
merged 9 commits into from
Feb 24, 2023

Conversation

mindhash
Copy link
Contributor

@mindhash mindhash commented Feb 9, 2023

Fix for issue# 2206

Changes:

  • Changed error messaging when invite token is missing in the register request.

Update:

  • Added a new SetupComplete flag to indicate that the first user has signed up. The flag is an indicator that signoz has been setup. And from this point on, we disable self-register option for users. Only invite token based sign-up would be supported.

  • The UI redirects user to sign-up page incase no user is setup yet. This means, when you install signoz for the first time and go to https://> you will be redirected to https://>/signup. If the first user is already setup then, login page would be shown (note: existing cases would continue to work like if user is already logged in, then no login will be prompted instead user will go to app home, etc).

  • The messaging "If you are admin, create an account" has been removed.

@palashgdev
Copy link
Contributor

@mindhash there is one conflict can you please resolve that ... apart from that this PR looks

mindhash and others added 2 commits February 24, 2023 13:43
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented Feb 24, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
4.2% 4.2% Duplication

@srikanthccv srikanthccv merged commit ab514cc into SigNoz:develop Feb 24, 2023
@makeavish makeavish linked an issue Feb 24, 2023 that may be closed by this pull request
1 task
@makeavish makeavish added this to the 0.16.2 milestone Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invite token Issue faced by users
5 participants