About
Proves an address belongs to its account: a one-time link opening a page with a button that confirms it, never signing in or switching an account on, a page that mails a new link, the link that moves an account to a new address, and the link an account carried over from an older site is mailed at its first sign-in
Provides
Services
ConfirmemailService
Routes
/confirm_email_change/<token>/confirm_user/<token>/confirmemail
Translations
es
Configuration
| Setting | Default | What it does |
|---|---|---|
CONFIRM_EMAIL_TOKEN_MAX_AGE |
86400
|
Seconds a confirmation link, or an address change link, works. Each works once whatever this says. |
CONFIRM_EMAIL_RESEND_SECONDS |
300
|
Seconds between two confirmation links sent to the same account, however often a new one is asked for (the resend page, a login with the right password on an account waiting for its link). |
These are the defaults. A product changes them in its own pyproject.toml, under [tool.splent.config], or in .env.deploy in production.
Dependencies
In product lines
-
labcompute
Optional in this line
Needs
mailauth -
openhubs_spl
Optional in this line
Needs
authmail -
sample_splent_spl
Optional in this line
Needs
mailauth
Extension points
Templates
confirmemail/confirm.htmlconfirmemail/link_invalid.htmlconfirmemail/resend.html
Services
ConfirmemailService
Routes
A refinement can add routes to its blueprint
Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.
Compatibility
Python
>=3.13
SPLENT framework
>=1.30.0