Log errors in the user module
This commit is contained in:
parent
b0f0633338
commit
7b9df97a32
6 changed files with 199 additions and 118 deletions
|
|
@ -38,6 +38,8 @@ pub const COOKIE_LANG_NAME: &str = "lang";
|
|||
/// (cookie authentication, password reset, validation token).
|
||||
pub const TOKEN_SIZE: usize = 32;
|
||||
|
||||
pub const EMAIL_ADDRESS: &str = "recipes@recipes.gburri.org";
|
||||
|
||||
/// When sending a validation email,
|
||||
/// the server has this duration to wait for a response from the SMTP server.
|
||||
pub const SEND_EMAIL_TIMEOUT: Duration = Duration::from_secs(60);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue