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

feat: add interface for /setup endpoint #86

Merged
merged 5 commits into from
Jan 12, 2025

Conversation

LuukBlankenstijn
Copy link
Contributor

No description provided.

feat: add redirect from the login page to the set-up page if the server is not set up.
@LuukBlankenstijn LuukBlankenstijn marked this pull request as draft October 25, 2024 06:08
…irect from the login page to the set-up page if the server is not set up.
@LuukBlankenstijn LuukBlankenstijn marked this pull request as ready for review October 25, 2024 20:21
@LuukBlankenstijn LuukBlankenstijn changed the title feat: add an interface for setting up the server feat: add redirect from the login page to the set-up page if the server is not set up. feat: add interface for /setup endpoint Oct 25, 2024
@Yoronex
Copy link
Member

Yoronex commented Oct 29, 2024

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.
@LuukBlankenstijn LuukBlankenstijn force-pushed the feature/add-interface-for-setup branch from 2255547 to c0a365c Compare December 18, 2024 19:45
<Button
fluid
primary
size="large"
type="submit"
disabled={validator.isEmpty(passwordRepeat) || !validator.equals(passwordRepeat, password) || !validator.isStrongPassword(password)}
Copy link
Member

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.

@LuukBlankenstijn LuukBlankenstijn merged commit e1139ec into develop Jan 12, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants