Skip to content

Commit

Permalink
encrypt passwords for remote desktop sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
gtritchie committed Dec 6, 2020
1 parent 77cb665 commit a45fa2c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public static void encrypt_ServerOnly(
final String input,
final ResponseCallback callback)
{
if (Desktop.hasDesktopFrame())
if (Desktop.isDesktop())
{
// Don't encrypt for desktop, Windows can't decrypt it.
// Don't encrypt for desktop sessions, Windows can't decrypt it.
callback.onSuccess(input);
return;
}
Expand Down

0 comments on commit a45fa2c

Please sign in to comment.