Skip to content

Commit

Permalink
chore: make lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
puni9869 committed May 20, 2024
1 parent 43806f3 commit 4291f3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion models/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package models

import "gorm.io/gorm"

// Session is gorm sessionstore shadow to properly delete the session
type Session struct {
gorm.Model
data string
data string //lint:ignore U1000 Ignore unused function temporarily for debugging
}
1 change: 0 additions & 1 deletion server/auth/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func LoginPost(c *gin.Context) {
// Redirect to the home route upon successful login
c.Redirect(http.StatusPermanentRedirect, "/")
c.Abort()
return
}

func LoginGet(c *gin.Context) {
Expand Down

0 comments on commit 4291f3d

Please sign in to comment.