TLSharp icon indicating copy to clipboard operation
TLSharp copied to clipboard

Add cloud password (Two-step verification) for account

Open vuminhit opened this issue 4 years ago • 3 comments

Hello,

How to add cloud password (Two-step verification) for account?

Thanks!

vuminhit avatar Dec 10 '20 09:12 vuminhit

Exception ex.message=="This Account has Cloud Password."
{
TLPassword result1 = await client.GetPasswordSetting(new CancellationToken());
usenboard = await client.MakeAuthWithPasswordAsync(result1, "Enter Cloud Password", new CancellationToken());
}

atrdev-rgb avatar Dec 15 '20 02:12 atrdev-rgb

Exception ex.message=="This Account has Cloud Password."
{
TLPassword result1 = await client.GetPasswordSetting(new CancellationToken());
usenboard = await client.MakeAuthWithPasswordAsync(result1, "Enter Cloud Password", new CancellationToken());
}

This code for login account with cloud password. I want create cloud password for an account

vuminhit avatar Dec 15 '20 02:12 vuminhit

Maybe solved by this PR? https://github.com/nblockchain/TgSharp/pull/17

knocte avatar Dec 15 '20 02:12 knocte