Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jun 29, 2024
1 parent 00eeeab commit de36391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion avRegistration/auth-method-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ angular.module('avRegistration')
return 1000 * (decodedToken.expiry_timestamp + decodedToken.create_timestamp)/2;
});
var minHalfLife = Math.min.apply(null, halfLifes);
return minHalfLife > now;
return minHalfLife < now;
}

authmethod.setAuth = function(auth, isAdmin, autheventid) {
Expand Down
2 changes: 1 addition & 1 deletion dist/appCommon-v10.4.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist
decodedToken = authmethod.decodeToken(decodedToken);
return 1e3 * (decodedToken.expiry_timestamp + decodedToken.create_timestamp) / 2;
});
return now < Math.min.apply(null, halfLifes);
return Math.min.apply(null, halfLifes) < now;
}
return authmethod.captcha_code = null, authmethod.captcha_image_url = "", authmethod.captcha_status = "",
authmethod.admin = !1, authmethod.decodeToken = function(createTimestamp) {
Expand Down

0 comments on commit de36391

Please sign in to comment.