Browse Source

Route signin no longer exists

clement 2 năm trước cách đây
mục cha
commit
1b3e98648b
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/controllers/ssh.php
  2. 1 1
      src/controllers/user.php

+ 1 - 1
src/controllers/ssh.php

@@ -5,7 +5,7 @@ function form_ssh() {
     session_start();
 
     if (!isset($_SESSION['user'])) {
-        header('Location: signin');
+        header('Location: /');
         exit();
     }
 

+ 1 - 1
src/controllers/user.php

@@ -43,7 +43,7 @@ function form_password() {
     session_start();
 
     if (!isset($_SESSION['user'])) {
-        header('Location: signin');
+        header('Location: /');
         exit();
     }