About
Password reset feature: forgot password and token-based reset flow
Provides
Models
ResetToken
Services
ResetService
Routes
/reset/forgot/reset/password/<token>
Hooks filled
auth.login.form_footerlayout.scripts
Signals
reset-submitting
Translations
es
Configuration
| Setting | Default | What it does |
|---|---|---|
RESET_TOKEN_MAX_AGE |
3600
|
Seconds a reset link works. Each link works once whatever this says, and following one spends the account's other reset links. |
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
Hook slots
reset.form_fields
Templates
forgot/forgot.htmlforgot/link_invalid.htmlforgot/reset_password.htmlhooks/reset_link.html
Services
ResetService
Models
ResetToken
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