[core] SsoProcessor.loginSuccess: use sendRegister to allow being overriden for tests

This commit is contained in:
Him188 2023-04-25 11:04:35 +01:00
parent c6a8f4bde5
commit b18e62b3b6

View File

@ -171,7 +171,7 @@ internal class SsoProcessorImpl(
suspend fun loginSuccess() {
components[AccountSecretsManager].saveSecrets(ssoContext.account, AccountSecretsImpl(client))
registerClientOnline(handler)
sendRegister(handler)
ssoContext.bot.logger.info { "Login successful." }
}