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

Additional options: title / slug #5

Open
LucPestille opened this issue Jan 3, 2025 · 0 comments
Open

Additional options: title / slug #5

LucPestille opened this issue Jan 3, 2025 · 0 comments

Comments

@LucPestille
Copy link

It might be useful to add in some other options in the config;

  1. The title of the page is hard-coded to "Password Guard" - that might be useful to change to "Restricted" / "Access required" (and localised as required) etc. and have the existing as a default.
  2. The slug for the password page when the check fails is hard-coded to "password-guard" - that route might be better* as "restricted" / "no-access" (and localised as required) etc. and have the existing as a default.

*That's opinionated, but also might be good for security to not immediately advertise what / how the site is restricted to people.

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

1 participant