aboutsummaryrefslogtreecommitdiff
path: root/util/key.go
diff options
context:
space:
mode:
authorFChannel <>2022-06-19 01:39:41 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit0a8c71360230f0439257d56d77a0755bfc030b06 (patch)
tree76e09318aaf71e2e4b90aa538f0ac774b73eb355 /util/key.go
parent25829d2d0e379c323b8f2ae6e7c2aad7548f0a30 (diff)
new line for cookiekey in config-init
Diffstat (limited to 'util/key.go')
-rw-r--r--util/key.go2
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