Removed unnecessary code

This commit is contained in:
Deluan
2021-05-11 18:55:58 -04:00
parent fa9083ddec
commit 22ce5b6282
3 changed files with 10 additions and 19 deletions
+1 -1
View File
@@ -270,8 +270,8 @@ var _ = Describe("Middlewares", func() {
Context("JWT based authentication", func() {
var validToken string
BeforeEach(func() {
auth.InitTokenAuth(ds)
conf.Server.SessionTimeout = time.Minute
auth.Init(ds)
u := &model.User{UserName: "admin"}
var err error