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

Warn the user when checking "never" expiry option #92

Open
elinorbgr opened this issue Feb 20, 2018 · 2 comments
Open

Warn the user when checking "never" expiry option #92

elinorbgr opened this issue Feb 20, 2018 · 2 comments

Comments

@elinorbgr
Copy link
Contributor

The previous site had a warning:

Cocher cette case te permet d'être automatiquement reconnu à ta prochaine connexion depuis cet ordinateur.
Il n'est pas conseillé de cocher la case si cette machine n'est pas strictement personnelle.

Re-add this text (with proper translation) as a message (formatted as a bootstrap warning for example) that is hidden unless the user checks the "never" expiry option at login.

@tizot
Copy link
Contributor

tizot commented Feb 21, 2018

I looked for a minimal solution to this issue but I don't see how to dynamically display the message otherwise than by writing a custom template for the login form.
Shall I go for this solution ?

@elinorbgr
Copy link
Contributor Author

elinorbgr commented Feb 22, 2018

We already have a custom template, at xorgauth/templates/registration/login.html, so if you need to adapt it, go for it 👍

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

No branches or pull requests

2 participants