Login expiration to 7 days
parent
a354b1ddc8
commit
9c7298ddc6
|
@ -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');
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
</span>
|
||||
|
||||
<div class="table-container">
|
||||
<label>Beförderungsanträge</label>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue