This commit is contained in:
Alireza Ahmadi
2024-07-14 19:33:02 +02:00
parent 0bd090d087
commit f50bc16b61
3 changed files with 3 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ jobs:
cd x-ui/bin
# Download dependencies
Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v1.8.15/"
Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v1.8.17/"
if [ "${{ matrix.platform }}" == "amd64" ]; then
wget ${Xray_URL}Xray-linux-64.zip
unzip Xray-linux-64.zip

View File

@@ -1 +1 @@
1.8.4
1.8.5

View File

@@ -20,6 +20,7 @@ func init() {
func SetLoginUser(c *gin.Context, user *model.User) error {
s := sessions.Default(c)
s.Options(sessions.Options{
Path: "/",
HttpOnly: true,
})
s.Set(loginUser, user)