You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method UnixUser.getUserName() returns the same string that was pass in the method PAM.authenticate(). That the writing depends from the input. Expected is the right writing of the USER from pamlib.
A possible fix can be to replace the line:
return new UnixUser(userName,pwd);
with:
return new UnixUser(pwd.getPwName(),pwd);
The text was updated successfully, but these errors were encountered:
The method UnixUser.getUserName() returns the same string that was pass in the method PAM.authenticate(). That the writing depends from the input. Expected is the right writing of the USER from pamlib.
A possible fix can be to replace the line:
return new UnixUser(userName,pwd);
with:
return new UnixUser(pwd.getPwName(),pwd);
The text was updated successfully, but these errors were encountered: