X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fauth%2FResetPasswordSecondaryAuthenticationProvider.php;h=c831fc8c440d1db03123963af089b876a41a0e5c;hb=d819f37fbb459549c43e15ae44a9234ae3e485e9;hp=45ac3aa0b5a95320c01133cc3c035a234db64f7b;hpb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/auth/ResetPasswordSecondaryAuthenticationProvider.php b/includes/auth/ResetPasswordSecondaryAuthenticationProvider.php index 45ac3aa0b5..c831fc8c44 100644 --- a/includes/auth/ResetPasswordSecondaryAuthenticationProvider.php +++ b/includes/auth/ResetPasswordSecondaryAuthenticationProvider.php @@ -96,7 +96,7 @@ class ResetPasswordSecondaryAuthenticationProvider extends AbstractSecondaryAuth } } - $needReq = isset( $data->req ) ? $data->req : new PasswordAuthenticationRequest(); + $needReq = $data->req ?? new PasswordAuthenticationRequest(); if ( !$needReq->action ) { $needReq->action = AuthManager::ACTION_CHANGE; }