feat: 支持识别因为微软账号被标记为可疑活动导致登陆失败

From https://github.com/PCL-Community/PCL2-CE/issues/769
This commit is contained in:
白月晓
2025-06-09 18:51:58 +08:00
committed by GitHub
parent 6b0c923777
commit 81619cbfc7
@@ -125,6 +125,8 @@
ElseIf ex.Message.Contains("expired_token") Then
Finished(New Exception("$登录用时太长啦,重新试试吧!"))
Return
Else If ex.Message.Contains("Account security interrupt") Then
Finished(New Exception("$非常抱歉,该账号由于安全问题无法登陆,请前往 Microsoft 账户页获取更多信息。"))
ElseIf ex.Message.Contains("service abuse") Then
Finished(New Exception("$非常抱歉,该账号已被微软封禁,无法登录。"))
Return