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
 package auth
1
 package auth
2
 
2
 
3
-import (
4
-	"time"
5
-)
6
-
7
 type DebugSessionStore struct{}
3
 type DebugSessionStore struct{}
8
 
4
 
9
 func NewDebugSessionStore() *DebugSessionStore {
5
 func NewDebugSessionStore() *DebugSessionStore {
10
 	return &DebugSessionStore{}
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
 	return nil
10
 	return nil
15
 }
11
 }
16
 
12