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

[feature] Add warning for email verification status and allow to resend verification email #281

Open
nemesifier opened this issue Jun 17, 2024 · 0 comments

Comments

@nemesifier
Copy link
Member

nemesifier commented Jun 17, 2024

If a user is accessing the admin and has email notifications enabled, we should check whether the user has its email verified.
If the email is not verified, we can show a warning message using the django message framework, something like:

Email notifications are enabled for your account, but since your email address has not been verified, email sending is currently disabled. Please verify your email address to enable email notifications.

We should link to a view that triggers the resending of the verification email.

We could use the user_logged_in signal to trigger this message, we should execute the receiver function only if the user is a staff user.

@nemesifier nemesifier added the enhancement New feature or request label Jun 17, 2024
@nemesifier nemesifier added this to Backlog in OpenWISP Priorities for next releases via automation Jun 17, 2024
@nemesifier nemesifier added this to To do (general) in OpenWISP Contributor's Board via automation Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant