mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-05 22:45:38 +00:00
Nullable ctor: Empty classes are now converted into/from a null value. This simplifies the hierarchy
This commit is contained in:
parent
52fb2a7831
commit
d4c373d95f
9 changed files with 263 additions and 283 deletions
|
|
@ -360,7 +360,7 @@ j4WcDuXc2CTHgH8gFTNhp/Y8/SpDOhvn9QIDAQAB
|
|||
return output;
|
||||
}
|
||||
|
||||
internal static InputCheckPasswordSRPBase Check2FA(Account_Password accountPassword, string password)
|
||||
internal static InputCheckPasswordSRP Check2FA(Account_Password accountPassword, string password)
|
||||
{
|
||||
if (accountPassword.current_algo is not PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow algo)
|
||||
throw new ApplicationException("2FA authentication uses an unsupported algo: " + accountPassword.current_algo?.GetType().Name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue