forked from openwebwork/webwork2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle user's with no password record for two factor authentication.
It makes sense for a system configured for LDAP authentication to also want to use two factor authentication, and a user does not need to have a local password defined for LDAP authentcation. However, this is not something that I realized when I implemented two factor authentication. So I assumed a password record would exist. This fixes the OTP verification for the case that a password does not exist in the database for a user. I.e., this fixes issue openwebwork#2494.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters