Commit f1040c22 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4444 Attempt at fixing login in cases of debug showing

Showing with 4 additions and 0 deletions
+4 -0
...@@ -132,6 +132,10 @@ if (isset($_REQUEST['signout']) && $_REQUEST['signout']) { ...@@ -132,6 +132,10 @@ if (isset($_REQUEST['signout']) && $_REQUEST['signout']) {
session::start(); session::start();
} }
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
session::global_set('DEBUGLEVEL', 0);
}
/* Reset errors */ /* Reset errors */
session::set('errors', ''); session::set('errors', '');
session::set('errorsAlreadyPosted', ''); session::set('errorsAlreadyPosted', '');
......
  • bmortier @bmortier

    mentioned in issue #1412

    By Côme Chilliet on 2017-09-02T15:25:48 (imported from GitLab)

    ·

    mentioned in issue #1412

    By Côme Chilliet on 2017-09-02T15:25:48 (imported from GitLab)

    Toggle commit list
Supports Markdown
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