mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 22:04:00 -07:00
Merge pull request #342 from sfer23/patch-1
Fix bug with redurant redirect
This commit is contained in:
commit
9a63491f08
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
if (isset($_SESSION['user'])) {
|
if (isset($_SESSION['user'])) {
|
||||||
header("Location: /list/user");
|
header("Location: /list/user/");
|
||||||
} else {
|
} else {
|
||||||
header("Location: /login/");
|
header("Location: /login/");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue