feat: opt table truncate style
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ type UserClaims struct {
|
||||
}
|
||||
|
||||
func GenerateToken(username, password string) (string, error) {
|
||||
expHours := 1 * 24 * time.Hour
|
||||
expHours := 2 * 24 * time.Hour
|
||||
//expHours := 1 * time.Minute
|
||||
SetClaims := UserClaims{
|
||||
Username: username,
|
||||
|
||||
Reference in New Issue
Block a user