Commit 08317c8b authored by Sven Franck's avatar Sven Franck

changed > to <, so test for valid auth token passes

parent 455efc7d
...@@ -4345,7 +4345,7 @@ ...@@ -4345,7 +4345,7 @@
// test for timeout // test for timeout
if (auth_config.issued && auth_config.expires) { if (auth_config.issued && auth_config.expires) {
expires = auth_config.issued + auth_config.expires; expires = auth_config.issued + auth_config.expires;
if (expires > stamp) { if (expires < stamp) {
valid = true; valid = true;
} else { } else {
expired = true; expired = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment