1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-12-11 09:24:10 +01:00
yubico-pam/tests
Mickaël Thomas 7b6aad719a Return early if the user has no authorized tokens
Currently, if a user has no associated tokens, we still prompt for an
OTP challenge and attempt to verify it.

This adds a check earlier to avoid the useless prompt in that case.

The `nullok` option is also added. It changes the return value from
PAM_USER_UNKNOWN to PAM_IGNORE. (fixes #97)

Finally, some constants have been turned to symbolic form for clarity
and debugging output is improved.
2017-02-27 00:21:07 +01:00
..
aux more stuff to make a2x work properly on mac for tests 2016-11-25 13:02:41 +01:00
Makefile.am drop the non-portable test test 2015-10-08 10:24:07 +02:00
pam_test.c add tests for empty OTP validation 2016-06-13 11:08:09 +02:00
util_test.c Return early if the user has no authorized tokens 2017-02-27 00:21:07 +01:00