mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Fix bug with redurant redirect
If I use nginx to assign 127.0.0.1:8083 with one of named VirtualHost - I have error when login by user (Browser redirect me to self domain name with 8083 port, which is already closed). Also this fix doesn't break anything on default use.
This commit is contained in:
parent
59467f6385
commit
850d215c1f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
session_start();
|
||||
if (isset($_SESSION['user'])) {
|
||||
header("Location: /list/user");
|
||||
header("Location: /list/user/");
|
||||
} else {
|
||||
header("Location: /login/");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue