breakfix of management.go

main
Evgeny Kovalev 2 years ago
parent 5010f029d1
commit eb2f87aa2b
  1. 3
      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

Loading…
Cancel
Save