core/nla: use RedirectionPassword if set in settings
authorKOVACS Krisztian <hidden@balabit.com>
Wed, 6 Dec 2017 15:32:56 +0000 (16:32 +0100)
committerKOVACS Krisztian <hidden@balabit.com>
Wed, 6 Dec 2017 15:32:56 +0000 (16:32 +0100)
commit7f5f40d392aba835c8223796ab13872f6034fca6
tree3a446b6ed2dbb5e5db1db7efcad8fc9bc3fe8c8e
parent3c56300afa1f33fbde1223b34a27c08bc05522ef
core/nla: use RedirectionPassword if set in settings

Previously, the code prompted for the password even if a RedirectionPassword
was provided.

With this change the prompt is only shown if both settins->Password and
settings->RedirectionPassword is absent.
libfreerdp/core/nla.c