Browse Source

Use proper return function

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
tags/v11.0RC2
Lukas Reschke 7 years ago
parent
commit
b6c9029c82
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      core/js/js.js

+ 1
- 2
core/js/js.js View File

@@ -1524,8 +1524,7 @@ OC.PasswordConfirmation = {
},

requiresPasswordConfirmation: function() {
var timeSinceLogin = moment.now() - nc_lastLogin * 1000;
return timeSinceLogin > 10 * 1000; // 30 minutes
var timeSinceLogin = moment.now() - (nc_lastLogin * 1000);
return timeSinceLogin > 30 * 60 * 1000; // 30 minutes
},


Loading…
Cancel
Save