mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-07-26 05:10:49 +02:00
Upgrade LBCAlerte to version 3.3
Add upgrade script
This commit is contained in:
@ -12,7 +12,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
$auth->setUsername($username)
|
||||
->setPassword(sha1($password));
|
||||
if ($auth->authenticate()) {
|
||||
if ($module == "default" && $action == "login") {
|
||||
if (isset($_GET["a"]) && $_GET["a"] == "login") {
|
||||
$redirect = "./";
|
||||
} else {
|
||||
$redirect = $_SERVER["REQUEST_URI"];
|
||||
|
Reference in New Issue
Block a user