changed token

This commit is contained in:
gryaznovdv committed 2019-05-07 17:39:09 +03:00
1 parent 0c5b23b790
commit 9884712392
6 files changed
+58 -23

No files matched your search

+2 -7
View File
@@ -1,12 +1,6 @@
package model
import (
"github.com/integration-system/isp-lib/database"
libStr "github.com/integration-system/isp-lib/structure"
"github.com/integration-system/isp-lib/utils"
"time"
)
/*
const DELETE_TOKENS = "DELETE FROM " + utils.DB_SCHEME + ".tokens WHERE user_id=?"
const DELETE_TOKEN = "DELETE FROM " + utils.DB_SCHEME + ".tokens WHERE token=?"
@@ -32,3 +26,4 @@ func CreateNewToken(userId int64, tokenString string, expiredTime *time.Time) (*
Insert()
return &token, err
}
*/