Skip to content

Commit 850d215

Browse files
committed
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.
1 parent 59467f6 commit 850d215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
session_start();
33
if (isset($_SESSION['user'])) {
4-
header("Location: /list/user");
4+
header("Location: /list/user/");
55
} else {
66
header("Location: /login/");
77
}

0 commit comments

Comments
 (0)