Parcourir la source

fix debug bug

Paul il y a 6 ans
Parent
révision
ff70c4e199
1 fichiers modifiés avec 1 ajouts et 5 suppressions
  1. 1
    5
      middleware/auth/session_debug.go

+ 1
- 5
middleware/auth/session_debug.go Voir le fichier

@@ -1,16 +1,12 @@
1 1
 package auth
2 2
 
3
-import (
4
-	"time"
5
-)
6
-
7 3
 type DebugSessionStore struct{}
8 4
 
9 5
 func NewDebugSessionStore() *DebugSessionStore {
10 6
 	return &DebugSessionStore{}
11 7
 }
12 8
 
13
-func (*DebugSessionStore) StoreJwtToken(key string, value string, timeout time.Duration) error {
9
+func (*DebugSessionStore) StoreJwtToken(key string, value string, timeout int64) error {
14 10
 	return nil
15 11
 }
16 12