Skip to content
Snippets Groups Projects

order of the arguments fixed

Merged Piotr Gawron requested to merge 150-caching-error-minerva-admin-panel-crash into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -584,7 +584,7 @@ public class UserBean extends AbstractManagedBean {
authenticationToken = getUserService().login(Configuration.ANONYMOUS_LOGIN, "");
}
Calendar now = Calendar.getInstance();
now.add(-1, Calendar.MINUTE);
now.add(Calendar.MINUTE, -1);
if (authenticationToken.getExpires().after(now)) {
authenticationToken = getUserService().login(Configuration.ANONYMOUS_LOGIN, "");
}
Loading