feat: 接入后台消息治理与登录审计
This commit is contained in:
+1
-1
@@ -307,7 +307,7 @@ func replyCreateUser(s *Session, msg *ClientComMessage, rec *auth.Rec) {
|
||||
if msg.Acc.Login {
|
||||
// Process user's login request.
|
||||
_, missing, _ := stringSliceDelta(globals.authValidators[rec.AuthLevel], validated)
|
||||
reply = s.onLogin(msg.Id, msg.Timestamp, rec, missing)
|
||||
reply = s.onLogin(msg.Id, msg.Timestamp, rec, missing, msg.Acc.Scheme, account)
|
||||
} else {
|
||||
// Not using the new account for logging in.
|
||||
reply = NoErrCreated(msg.Id, "", msg.Timestamp)
|
||||
|
||||
Reference in New Issue
Block a user