Browse Source

fix debug bug

Paul 6 years ago
parent
commit
ff70c4e199
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      middleware/auth/session_debug.go

+ 1
- 5
middleware/auth/session_debug.go View File

@@ -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