modify update user info time
This commit is contained in:
parent
d2dcbdff71
commit
f8e79ef9fa
@ -86,7 +86,7 @@ func getSourceUser(uid, gid string) (u *model.LineUser, err error) {
|
||||
return nil, err
|
||||
}
|
||||
} else {
|
||||
if userData.Mtime.Unix() < (time.Now().Unix() - 432000) {
|
||||
if userData.Mtime.Unix() < (time.Now().Unix() - 86400) {
|
||||
tmpu, err := line.GetUserInfo(uid, gid)
|
||||
if err != nil || tmpu == nil {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user