diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 20:44:20 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 20:44:20 +0200 |
| commit | 803fda7486e358dc79fc26884b40f4d739559da2 (patch) | |
| tree | 22c06c8cf58b37eadf3e03d92086dedfad24fbb1 | |
| parent | 84625d50397151e4d0cb1e333857f556ebc1b47c (diff) | |
| download | prosody_auth-803fda7486e358dc79fc26884b40f4d739559da2.tar prosody_auth-803fda7486e358dc79fc26884b40f4d739559da2.tar.gz prosody_auth-803fda7486e358dc79fc26884b40f4d739559da2.tar.bz2 prosody_auth-803fda7486e358dc79fc26884b40f4d739559da2.tar.xz prosody_auth-803fda7486e358dc79fc26884b40f4d739559da2.zip | |
legacy typo
| -rw-r--r-- | mod_auth_custom/mod_auth_custom.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod_auth_custom/mod_auth_custom.lua b/mod_auth_custom/mod_auth_custom.lua index fc8d0c8..69a41e4 100644 --- a/mod_auth_custom/mod_auth_custom.lua +++ b/mod_auth_custom/mod_auth_custom.lua | |||
| @@ -31,7 +31,7 @@ function test_password(username, password) | |||
| 31 | return responses | 31 | return responses |
| 32 | end | 32 | end |
| 33 | }); | 33 | }); |
| 34 | if h and h:authenticate() and h:endx(pam.PAM_SUCCESS) then | 34 | if h and h:authenticate() and h:endx(pam.SUCCESS) then |
| 35 | return true, true; | 35 | return true, true; |
| 36 | end | 36 | end |
| 37 | return nil, true; | 37 | return nil, true; |
