mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Redirect to /list/user/ after login
This commit is contained in:
parent
82dcba51a0
commit
1a61ea102b
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ if (isset($_SESSION['user'])) {
|
|||
$_SESSION['look_alert'] = 'yes';
|
||||
}
|
||||
}
|
||||
header("Location: /");
|
||||
header("Location: /list/user/");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@ -109,7 +109,7 @@ if (isset($_POST['user']) && isset($_POST['password'])) {
|
|||
unset($_SESSION['request_uri']);
|
||||
exit;
|
||||
} else {
|
||||
header("Location: /");
|
||||
header("Location: /list/user/");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue