aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.go b/server.go
index f6ef5ae..7d7a431 100644
--- a/server.go
+++ b/server.go
@@ -10,8 +10,8 @@ import (
"sync"
"time"
- "github.com/labstack/echo/v4"
"github.com/fernet/fernet-go"
+ "github.com/labstack/echo/v4"
)
const (
@@ -318,7 +318,7 @@ func (ctx *Context) GetLoginToken() (string, string) {
}
bytes := fernet.VerifyAndDecrypt([]byte(cookie.Value),
- 24 * time.Hour * 30, []*fernet.Key{fkey})
+ 24*time.Hour*30, []*fernet.Key{fkey})
if bytes == nil {
return "", ""
}