diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-31 00:56:13 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-31 00:56:13 +0200 |
commit | b87bfa234378bcfc1b13273c5089f07902de1725 (patch) | |
tree | 479343b7abaa677bf91c056c97c276de2064c887 | |
parent | c2f975773d720e734dbdab9a1e9ae51b0972ae0c (diff) | |
download | slock-b87bfa234378bcfc1b13273c5089f07902de1725.tar.gz slock-b87bfa234378bcfc1b13273c5089f07902de1725.tar.xz |
Update bsd-auth string.
Thanks to Hiltjo for discovering this.
-rw-r--r-- | slock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ readpw(Display *dpy, const char *pws) case XK_Return: passwd[len] = 0; #ifdef HAVE_BSD_AUTH - running = !auth_userokay(getlogin(), NULL, "auth-xlock", passwd); + running = !auth_userokay(getlogin(), NULL, "auth-slock", passwd); #else running = !!strcmp(crypt(passwd, pws), pws); #endif |