This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, 6.0 has been updated
via 786f5de98b1c896e8d1d3281699fae45d147adde (commit)
from e09f107c64dd8142a8f8b17b6f11baf8ba212078 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=786f5de98b1c896e8d1d3281699fae45d147adde
commit 786f5de98b1c896e8d1d3281699fae45d147adde
Author: Roland Mas <[email protected]>
Date: Fri Jan 27 11:16:51 2017 +0100
Fixed token expiration check
diff --git a/src/common/include/session.php b/src/common/include/session.php
index 7618e28..f92f6e0 100644
--- a/src/common/include/session.php
+++ b/src/common/include/session.php
@@ -146,7 +146,7 @@ function session_check_session_cookie($session_cookie) {
return false;
}
if ((forge_get_config('session_expire') > 0) &&
- ($time - time() >= forge_get_config('session_expire'))) {
+ (time() - $time >= forge_get_config('session_expire'))) {
error_log("session_check_session_cookie failed: expired !");
return false;
}
-----------------------------------------------------------------------
Summary of changes:
src/common/include/session.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits