Skip to content
Snippets Groups Projects
Commit 9a7c61bc authored by Piotr Gawron's avatar Piotr Gawron
Browse files

order of the arguments fixed

parent f8b0db69
No related branches found
No related tags found
1 merge request!64order of the arguments fixed
......@@ -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, "");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment