aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'migrations')
-rw-r--r--migrations/csrfToken/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/migrations/csrfToken/main.go b/migrations/csrfToken/main.go
index fcd49f2..f2326df 100644
--- a/migrations/csrfToken/main.go
+++ b/migrations/csrfToken/main.go
@@ -69,7 +69,10 @@ func main() {
if err != nil {
log.Fatal(err)
}
- s.CSRFToken = util.NewCSRFToken()
+ s.CSRFToken, err = util.NewCSRFToken()
+ if err != nil {
+ log.Fatal(err)
+ }
err = sessionRepo.Add(s)
if err != nil {
log.Fatal(err)