mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add pipe 10 so that if EMAIL_CODE_VALID_TIME is abc we get 10.
This commit is contained in:
parent
d4adb3b682
commit
286fad0dfe
@ -66,7 +66,7 @@ const email = {
|
||||
EMAIL_LINK_SETPASSWORD:
|
||||
process.env.EMAIL_LINK_SETPASSWORD || 'http://localhost/reset-password/{code}',
|
||||
EMAIL_CODE_VALID_TIME: process.env.EMAIL_CODE_VALID_TIME
|
||||
? parseInt(process.env.EMAIL_CODE_VALID_TIME)
|
||||
? parseInt(process.env.EMAIL_CODE_VALID_TIME) || 10
|
||||
: 10,
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user