mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Clear license errors when logging in.
Former-commit-id: 1f68f190ebc84202b0e39b92c12d065f8b52543c
This commit is contained in:
parent
c25143c27e
commit
aa0ab53cf3
@ -244,6 +244,11 @@ if (strlen($search) > 0) {
|
|||||||
|
|
||||||
// Login process
|
// Login process
|
||||||
if (! isset($config['id_user'])) {
|
if (! isset($config['id_user'])) {
|
||||||
|
|
||||||
|
// Clear error messages.
|
||||||
|
unset($_COOKIE['errormsg']);
|
||||||
|
setcookie('errormsg', null, -1);
|
||||||
|
|
||||||
if (isset($_GET['login'])) {
|
if (isset($_GET['login'])) {
|
||||||
include_once 'include/functions_db.php';
|
include_once 'include/functions_db.php';
|
||||||
// Include it to use escape_string_sql function
|
// Include it to use escape_string_sql function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user