Comments
This commit is contained in:
parent
599dde34c1
commit
9c6b5704e2
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user