v1.4.0
This commit is contained in:
parent
8e9c6bc472
commit
467560d420
1 changed files with 1478 additions and 74 deletions
|
|
@ -745,6 +745,11 @@ class Login_Form_Manager {
|
|||
return $user;
|
||||
}
|
||||
|
||||
// Application Passwords: skip challenge for requests authenticated via Application Passwords.
|
||||
if ( $this->config->is_app_passwords_exempt() && (bool) did_action( 'application_password_did_authenticate' ) ) {
|
||||
return $user;
|
||||
}
|
||||
|
||||
// Trusted devices: skip challenge when the browser carries a valid trust cookie.
|
||||
if ( $this->config->get_trust_device_days() > 0 && $this->trusted_devices->is_trusted( $user ) ) {
|
||||
return $user;
|
||||
|
|
|
|||
Loading…
Reference in a new issue