mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
changed email expire to 1 day for verifying account
This commit is contained in:
parent
6727c3ee00
commit
cb48242b74
2 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,8 @@ module.exports = SubscriptionGroupHandler =
|
|||
|
||||
|
||||
sendVerificationEmail: (subscription_id, licenceName, email, callback)->
|
||||
OneTimeTokenHandler.getNewToken subscription_id, (err, token)->
|
||||
ONE_DAY_IN_S = 1000 * 60 * 60 * 24
|
||||
OneTimeTokenHandler.getNewToken subscription_id, {expiresIn:ONE_DAY_IN_S}, (err, token)->
|
||||
opts =
|
||||
to : email
|
||||
group_name: licenceName
|
||||
|
|
|
@ -21,7 +21,7 @@ block content
|
|||
.col-md-12
|
||||
.text-center
|
||||
a.btn.btn-default(href="/project") #{translate("not_now")}
|
||||
|
||||
span
|
||||
a.btn.btn.btn-primary(ng-click="joinGroup()") #{translate("verify_email_address")}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue