fix: честные ошибки при вводе пароля и дубликат в Keychain
This commit is contained in:
@@ -488,7 +488,7 @@ class AccountModule {
|
||||
final data = _requireMapPayload(packet, 'checkPassword');
|
||||
|
||||
if (data['error'] != null) {
|
||||
throw Exception('checkPassword: неверный пароль');
|
||||
throw const WrongPasswordException();
|
||||
}
|
||||
|
||||
final tokenAttrs = data['tokenAttrs'];
|
||||
|
||||
Reference in New Issue
Block a user