Explorar o código

Route signin no longer exists

clement %!s(int64=2) %!d(string=hai) anos
pai
achega
1b3e98648b
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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();
     }