diff --git a/api/routes/authenticate.js b/api/routes/authenticate.js index 11958cf..f778c08 100644 --- a/api/routes/authenticate.js +++ b/api/routes/authenticate.js @@ -50,7 +50,7 @@ let authCheck = (username, password, res) => { AppUserModel.findOne({username: username}).populate('squad').exec((err, user) => { if (err) deferred.reject(err.name + ': ' + err.message); - const diff = 3 * 60 * 24; // time till expiration [minutes] + const diff = 7 * 60 * 24; // time till expiration [minutes] if (user && !user.activated) { res.status(codes.unauthorized).send('Account is not yet activated'); diff --git a/static/src/app/request/confirm-promotion/confirm-promotion.component.html b/static/src/app/request/confirm-promotion/confirm-promotion.component.html index 78ed8df..a7824c7 100644 --- a/static/src/app/request/confirm-promotion/confirm-promotion.component.html +++ b/static/src/app/request/confirm-promotion/confirm-promotion.component.html @@ -8,7 +8,6 @@