increase token validity
This commit is contained in:
parent
752200d42e
commit
af1de3a244
@ -21,7 +21,7 @@ func (p Perm) String() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const SignKey = "89013f1753a6890c6090b09e3c23ff43"
|
const SignKey = "89013f1753a6890c6090b09e3c23ff43"
|
||||||
const TokenExpireHours = 24
|
const TokenExpireHours = 8760
|
||||||
|
|
||||||
type Token struct {
|
type Token struct {
|
||||||
Token string
|
Token string
|
||||||
|
Loading…
Reference in New Issue
Block a user