This commit is contained in:
Bandie 2018-04-01 02:19:33 +02:00
parent 599dde34c1
commit 9c6b5704e2
Signed by: Bandie
GPG Key ID: C1E133BC65A822DD

View File

@ -141,11 +141,12 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, cons
//////////////////////// AUTH PROMPT //////////////////////////////// //////////////////////// AUTH PROMPT ////////////////////////////////
// Prompt for removable media
// Prompt for (auth|panic) key
if(allowed != NULL && rejected != NULL){ if(allowed != NULL && rejected != NULL){
return authDevice(pamh, allowed, rejected, serious_dev, bSerious, bReboot, bPoweroff); return authDevice(pamh, allowed, rejected, serious_dev, bSerious, bReboot, bPoweroff);
}else if(bPassword){ }
// Prompt for password
else if(bPassword){
return authPassword(pamh, serious_dev, bSerious, bReboot, bPoweroff); return authPassword(pamh, serious_dev, bSerious, bReboot, bPoweroff);
} }