Commit d0da74e
committed
Support for multi-factor authentication
On systems with multi factor authentication (password and one-time token
for example), PAM will ask all the factors in the conversation. Don't
duplicate the password, leave the other factors empty instead because
OTP systems usually accept the token being appended to the password.
Example PAM dialogue on MFA systems:
```
First Factor:
Second Factor:
```
Without this patch, the provided password would be submitted in both
fields, which causes the login process to fail.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>1 parent 8df454c commit d0da74e
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments