mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -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';
|
$_SESSION['look_alert'] = 'yes';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
header("Location: /");
|
header("Location: /list/user/");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ if (isset($_POST['user']) && isset($_POST['password'])) {
|
||||||
unset($_SESSION['request_uri']);
|
unset($_SESSION['request_uri']);
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
header("Location: /");
|
header("Location: /list/user/");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue