Use proper return function

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Tento commit je obsažen v:
Lukas Reschke 2016-11-21 15:14:32 +01:00
rodič efdef8f801
revize b6c9029c82
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: B9F6980CF6E759B1

Zobrazit soubor

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