[client,sdl] fix smartcard pin dialog result
This commit is contained in:
parent
5d3ffea061
commit
a2b220f828
@ -598,8 +598,13 @@ BOOL sdl_auth_dialog_show(const SDL_UserAuthArg* args)
|
||||
if (rc > 0)
|
||||
{
|
||||
user = _strdup(result[0].c_str());
|
||||
domain = _strdup(result[1].c_str());
|
||||
pwd = _strdup(result[2].c_str());
|
||||
if (args->result == AUTH_SMARTCARD_PIN)
|
||||
pwd = _strdup(result[1].c_str());
|
||||
else
|
||||
{
|
||||
domain = _strdup(result[1].c_str());
|
||||
pwd = _strdup(result[2].c_str());
|
||||
}
|
||||
}
|
||||
return sdl_push_user_event(SDL_USEREVENT_AUTH_RESULT, user, domain, pwd, rc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user