Browse files

Merge branch 'master' into 3.0.x

  • Loading branch information...
2 parents 6f432bc + 612ddd7 commit ae6dd18b68d6566db24df8d732491bee827f5f08 @bharat bharat committed Dec 18, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 modules/gallery/helpers/gallery_event.php
View
4 modules/gallery/helpers/gallery_event.php
@@ -178,6 +178,10 @@ static function user_login($user) {
}
Session::instance()->set("active_auth_timestamp", time());
auth::clear_failed_attempts($user);
+
+ if ($user->admin && ini_get("session.use_trans_sid")) {
+ message::info(t("PHP is configured with <a href=\"url\">session.use_trans_sid</a> enabled which will cause random logouts. Please disable this setting.", array("url" => "http://www.php.net/manual/en/session.configuration.php#ini.session.use-trans-sid")));
+ }
}
static function user_auth_failed($name) {

0 comments on commit ae6dd18

Please sign in to comment.