]> source.dussan.org Git - tigervnc.git/commit
Only read first password from file
authorPierre Ossman <ossman@cendio.se>
Fri, 30 Aug 2024 14:09:38 +0000 (16:09 +0200)
committerLinn Mattsson <linma@cendio.se>
Tue, 22 Oct 2024 10:41:33 +0000 (12:41 +0200)
commite30cc3355ab72b25bc9f81007ad1341286d77c32
tree169b668ff7746d5c38e56dd74c948a29652eee28
parentcf85f2365eaedc6828071d99105acd5307c65c02
Only read first password from file

Read just the first password and ignore anything else in the password
file. This allows you to reuse a password file from the server that also
includes a view-only password.

This fixes a regression introduced in b99daad.

(cherry picked from commit 49a087e8f8ecafe950a86a71ae6657d6cac8ea77)
vncviewer/UserDialog.cxx