Other: Fix wrong Errorf type

This commit is contained in:
James Houlahan
2022-10-12 17:24:37 +02:00
parent fb6435e30d
commit 1e845adc17

View File

@ -414,7 +414,7 @@ func (s *Service) Login2FA(ctx context.Context, login *LoginRequest) (*emptypb.E
defer s.panicHandler.HandlePanic()
if s.auth.UID == "" || s.authClient == nil {
s.log.Errorf("Login 2FA: authethication incomplete %p %p", s.auth.UID, s.authClient)
s.log.Errorf("Login 2FA: authethication incomplete %s %p", s.auth.UID, s.authClient)
_ = s.SendEvent(NewLoginError(LoginErrorType_TFA_ABORT, "Missing authentication, try again."))
s.loginClean()
return