File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ START_SSH_SERVER = false
101
101
; Domain name to be exposed in clone URL
102
102
SSH_DOMAIN = %(DOMAIN)s
103
103
; Network interface builtin SSH server listens on
104
- SSH_LISTEN_HOST =
104
+ SSH_LISTEN_HOST =
105
105
; Port number to be exposed in clone URL
106
106
SSH_PORT = 22
107
107
; Port number builtin SSH server listens on
@@ -251,7 +251,7 @@ PROVIDER = memory
251
251
; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
252
252
PROVIDER_CONFIG = data/sessions
253
253
; Session cookie name
254
- COOKIE_NAME = i_like_gogits
254
+ COOKIE_NAME = i_like_gitea
255
255
; If you use session in https only, default is false
256
256
COOKIE_SECURE = false
257
257
; Enable set cookie, default is true
Original file line number Diff line number Diff line change @@ -937,7 +937,7 @@ func newSessionService() {
937
937
SessionConfig .Provider = Cfg .Section ("session" ).Key ("PROVIDER" ).In ("memory" ,
938
938
[]string {"memory" , "file" , "redis" , "mysql" })
939
939
SessionConfig .ProviderConfig = strings .Trim (Cfg .Section ("session" ).Key ("PROVIDER_CONFIG" ).String (), "\" " )
940
- SessionConfig .CookieName = Cfg .Section ("session" ).Key ("COOKIE_NAME" ).MustString ("i_like_gogits " )
940
+ SessionConfig .CookieName = Cfg .Section ("session" ).Key ("COOKIE_NAME" ).MustString ("i_like_gitea " )
941
941
SessionConfig .CookiePath = AppSubURL
942
942
SessionConfig .Secure = Cfg .Section ("session" ).Key ("COOKIE_SECURE" ).MustBool (false )
943
943
SessionConfig .Gclifetime = Cfg .Section ("session" ).Key ("GC_INTERVAL_TIME" ).MustInt64 (86400 )
You can’t perform that action at this time.
0 commit comments