mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 16:19:02 +02:00
changed email expire to 1 day for verifying account
This commit is contained in:
@@ -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")}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user