diff --git a/Management/management.go b/Management/management.go index 8d52c35..a99c7e6 100644 --- a/Management/management.go +++ b/Management/management.go @@ -3,7 +3,6 @@ package management import ( "encoding/json" "errors" - "fmt" "io/ioutil" "log" "os" @@ -130,7 +129,7 @@ func (T_Management) CheckPassword(email string, passwd string) (bool, error) { } func (T_Management) SaveCookie(email string, cookie string) error { - for index, _ := range Settings.Users { + for index, u := range Settings.Users { if u.Email == email { Settings.Users[index].Cookie = cookie return nil