changed email expire to 1 day for verifying account

This commit is contained in:
Henry Oswald 2015-06-01 12:22:46 +01:00
parent 6727c3ee00
commit cb48242b74
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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")}