Signals from User Model
The lback.auth.models.User model emits several signals during critical user-related operations, such as password management and email verification. These signals offer valuable integration points for auditing user actions, triggering notifications, updating external systems, or implementing custom logic tied to user authentication and account management flows.
Signal Name |
Description |
Arguments (kwargs) |
|---|---|---|
|
Emitted successfully after a user’s password has been hashed and set on the user model. |
|
|
Emitted if an error occurs during the process of hashing or setting a user’s password. |
|
|
Emitted after a user’s plain text password has been checked against the stored hashed password. |
|
|
Emitted if an error occurs during the process of checking a user’s password (e.g., due to an issue with the hashing library). |
|
|
Emitted after a new email verification token has been successfully generated and assigned to the user. |
|
|
Emitted when a user’s email address has been successfully verified using a valid token. |
|
|
Emitted when an attempt to verify a user’s email address fails (e.g., due to an invalid or expired token). |
|