mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 12:36:23 +05:30
Prepare release + bugs fix
Prepare release, improvements, and bugs fix #226
This commit is contained in:
parent
eb8e0ac503
commit
d4e6139011
3 changed files with 13 additions and 3 deletions
|
|
@ -57,6 +57,8 @@ function session($user, $pass)
|
|||
}
|
||||
$_SESSION[config("site.url")]['user'] = $user;
|
||||
header('location: admin');
|
||||
} else {
|
||||
return $str = '<li>Your username and password mismatch.</li>';
|
||||
}
|
||||
} else if (old_password_verify($pass, $user_enc, $user_pass)) {
|
||||
update_user($user, $pass, $user_role);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue