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
|
||||
if (! isset($config['id_user'])) {
|
||||
|
||||
// Clear error messages.
|
||||
unset($_COOKIE['errormsg']);
|
||||
setcookie('errormsg', null, -1);
|
||||
|
||||
if (isset($_GET['login'])) {
|
||||
include_once 'include/functions_db.php';
|
||||
// Include it to use escape_string_sql function
|
||||
|
|
Loading…
Reference in New Issue