diff --git a/src/index.php b/src/index.php
index afd1db7..3407299 100644
--- a/src/index.php
+++ b/src/index.php
@@ -8,7 +8,7 @@ if(isset($_POST['login'])){
$password = $_POST['password'];
if(empty($username)||empty($password)){
- $msg = "data harus diisi!";
+ $msg = "Data Harus Lengkap !";
echo "";
}else{
$sql = "SELECT * FROM users WHERE username =?";
@@ -23,14 +23,15 @@ if(isset($_POST['login'])){
$_SESSION['loggedin']='true';
$_SESSION['username']=$user['username'];
$_SESSION['id']=$user['id'];
- header("location:leaderboard.php");
+ header("location:onboard.php");
exit();
}else{
- $msg = "Password Salah!";
+ $msg = "Password Salah !";
echo "";
}
}else{
- echo "username salah";
+ $msg = "Username tidak ditemukan !";
+ echo "";
}
$stmt->close();
}
diff --git a/src/notif.php b/src/notif.php
index 780c38f..68702cd 100644
--- a/src/notif.php
+++ b/src/notif.php
@@ -3,20 +3,20 @@