-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: add interface for /setup endpoint #86
Conversation
feat: add redirect from the login page to the set-up page if the server is not set up.
…irect from the login page to the set-up page if the server is not set up.
Final thing: please create a separate commit in this PR when it is approved to update changelog.md with your changes. Because this is an improvement of PP and not a major rework, it is part of a new minor release (so the y in the x.y.z versioning). |
…add redirect from the login page to the set-up page if the server is not set up.
2255547
to
c0a365c
Compare
<Button | ||
fluid | ||
primary | ||
size="large" | ||
type="submit" | ||
disabled={validator.isEmpty(passwordRepeat) || !validator.equals(passwordRepeat, password) || !validator.isStrongPassword(password)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of validator.isStrongPassword
, why not use passwordIsValid
? If isStrongPassword
implements different constraints, the user has no clue what is wrong.
No description provided.