We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 673dc2e commit d7e3eb1Copy full SHA for d7e3eb1
files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py
@@ -375,12 +375,12 @@ def _on_show_password_toggled(self, widget):
375
self.set_passwords_visibility()
376
377
def auth_pam(self):
378
- if not pam.pam().authenticate(GLib.get_user_name(), self.current_password.get_text(), 'passwd'):
+ if not pam.pam().authenticate(GLib.get_user_name(), self.current_password.get_text(), 'system-auth'):
379
raise PasswordError("Invalid password")
380
381
def auth_PyPAM(self):
382
auth = PAM.pam()
383
- auth.start('passwd')
+ auth.start('system-auth')
384
auth.set_item(PAM.PAM_USER, GLib.get_user_name())
385
auth.set_item(PAM.PAM_CONV, self.pam_conv)
386
try:
0 commit comments