feat(sms): align provider and verification flow

This commit is contained in:
kate522 committed 2026-10-05 02:13:52 +08:00
1 parent d0a3972ca7
commit 5091da6a60
20 files changed
+489 -994

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ final class Service {
public static function resolve_email_to_username(string $login): string {
$login = trim($login);
if (
preg_match('/^1[3-9]\d{9}$/', $login)
\AKSRT\Sms\SMS::is_phonenumber($login)
&& class_exists('\AKSRT\Settings\Settings')
&& \AKSRT\Settings\Settings::signin_phone_enabled()
) {