Commit 471acf08 by Mei Romauli Sagala

edit

parent 4929d2cc
......@@ -16,7 +16,7 @@ if(isset($_GET['do_login'])){
$_SESSION['user'] = TRUE;
header("location:index.php");
}
$log =getAdmin($_POST['username'],$_POST['password']);
$log =getAdmin($_POST['username'],md5($_POST['password']));
if($log == false){
$_SESSION['login_error'] = TRUE;
}else{
......
Markdown is supported
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