diff options
author | FChannel <> | 2022-06-19 01:39:41 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 0a8c71360230f0439257d56d77a0755bfc030b06 (patch) | |
tree | 76e09318aaf71e2e4b90aa538f0ac774b73eb355 /util/key.go | |
parent | 25829d2d0e379c323b8f2ae6e7c2aad7548f0a30 (diff) |
new line for cookiekey in config-init
Diffstat (limited to 'util/key.go')
-rw-r--r-- | util/key.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/key.go b/util/key.go index 60eeb43..bd9c07e 100644 --- a/util/key.go +++ b/util/key.go @@ -42,7 +42,7 @@ func GetCookieKey() (string, error) { defer file.Close() config.CookieKey = encryptcookie.GenerateKey() - file.WriteString("cookiekey:" + config.CookieKey) + file.WriteString("\ncookiekey:" + config.CookieKey) } return config.CookieKey, nil |