mirror of
https://github.com/xodivorce/xeorl.git
synced 2025-12-20 00:29:34 +05:30
v4.1.3
This commit is contained in:
@@ -32,8 +32,8 @@ if (isset($_POST['login_btn'])) {
|
||||
$_SESSION['user_email'] = $row['user_email'];
|
||||
$_SESSION['user_type'] = $row['user_type'];
|
||||
|
||||
// Redirect to dashboard after successful login
|
||||
header('Location: ../dashboard.php');
|
||||
// Redirect to monetization after successful login
|
||||
header('Location: ../monetization.php');
|
||||
exit();
|
||||
} else {
|
||||
$_SESSION['error'] = "Invalid password. Please try again.";
|
||||
|
||||
@@ -60,8 +60,8 @@ if (isset($_GET['code'])) {
|
||||
$_SESSION['user_name'] = $name;
|
||||
$_SESSION['user_email'] = $email;
|
||||
|
||||
// Redirect to dashboard
|
||||
header("Location: ../dashboard.php");
|
||||
// Redirect to monetization
|
||||
header("Location: ../monetization.php");
|
||||
exit();
|
||||
} else {
|
||||
header("Location: " . $client->createAuthUrl());
|
||||
|
||||
Reference in New Issue
Block a user