aboutsummaryrefslogtreecommitdiff
path: root/util/key.go
diff options
context:
space:
mode:
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