添加判空
This commit is contained in:
parent
69cfaf0737
commit
b9d51378f3
@ -66,7 +66,10 @@ func (this *LoginComp) Login(ctx context.Context, session comm.IUserSession, req
|
||||
},
|
||||
})
|
||||
|
||||
if db_user != nil {
|
||||
event.TriggerEvent(comm.Event_UserLogin, db_user.Uid)
|
||||
}
|
||||
|
||||
}()
|
||||
|
||||
if !utils.ValidSecretKey(req.Sec) {
|
||||
|
Loading…
Reference in New Issue
Block a user