updated login tokens
This commit is contained in:
@@ -19,7 +19,7 @@ func login(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
loggedIn, token := storage.CheckLogin(loginBody.Username, loginBody.Password)
|
||||
loggedIn, token := storage.CheckLogin(loginBody.Username, loginBody.Password, c.ClientIP())
|
||||
|
||||
if loggedIn {
|
||||
c.JSON(200, gin.H{
|
||||
|
||||
Reference in New Issue
Block a user