]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - admin.php
[TASK] Rename license file
[jirafeau_mojo42.git] / admin.php
index bfbd123be74372fc578da4852db2e96f0a601e5c..cb6058036bee37b11b8ada637b07e71d5fd028f6 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -71,7 +71,7 @@ else
   if (isset ($_POST['admin_password']) && empty($cfg['admin_http_auth_user']))
   {
       if ($cfg['admin_password'] === $_POST['admin_password'] ||
   if (isset ($_POST['admin_password']) && empty($cfg['admin_http_auth_user']))
   {
       if ($cfg['admin_password'] === $_POST['admin_password'] ||
-         $cfg['admin_password'] === hash('sha256', $_POST['admin_password']))
+          $cfg['admin_password'] === hash('sha256', $_POST['admin_password']))
           $_SESSION['admin_auth'] = true;
       else
       {
           $_SESSION['admin_auth'] = true;
       else
       {

patrick-canterino.de