Skip to content

Commit

Permalink
add the uid we find to the allowed list (and not the one we are itera…
Browse files Browse the repository at this point in the history
…ting and parsing)
  • Loading branch information
totaam committed Apr 27, 2021
1 parent ec1cafb commit 7f647ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/server/auth/peercred_auth.py
Expand Up @@ -41,7 +41,7 @@ def __init__(self, username, **kwargs):
import pwd
try:
pw = pwd.getpwnam(x)
uids.append(pw.pw_uid)
allow_uids.append(pw.pw_uid)
except KeyError:
log.warn("Warning: unknown username '%s'", x)
log("peercred: allow_uids(%s)=%s", uids, allow_uids)
Expand Down

0 comments on commit 7f647ec

Please sign in to comment.