X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fauth%2FConfirmLinkSecondaryAuthenticationProvider.php;h=7f121cdef1d9fdc80970f74c1aafd96811af1497;hb=3b4c53b79540e1ab4519cb7781d3da6cdf8af7b7;hp=beb11f433189d2fc6bd81eb6433ac7e6a4a30363;hpb=425090d4eb0b9de89ad6818f40ab8295368f645e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/auth/ConfirmLinkSecondaryAuthenticationProvider.php b/includes/auth/ConfirmLinkSecondaryAuthenticationProvider.php index beb11f4331..7f121cdef1 100644 --- a/includes/auth/ConfirmLinkSecondaryAuthenticationProvider.php +++ b/includes/auth/ConfirmLinkSecondaryAuthenticationProvider.php @@ -64,7 +64,8 @@ class ConfirmLinkSecondaryAuthenticationProvider extends AbstractSecondaryAuthen $req = new ConfirmLinkAuthenticationRequest( $maybeLink ); return AuthenticationResponse::newUI( [ $req ], - wfMessage( 'authprovider-confirmlink-message' ) + wfMessage( 'authprovider-confirmlink-message' ), + 'warning' ); } @@ -150,7 +151,8 @@ class ConfirmLinkSecondaryAuthenticationProvider extends AbstractSecondaryAuthen 'linkOk', wfMessage( 'ok' ), wfMessage( 'authprovider-confirmlink-ok-help' ) ) ], - $combinedStatus->getMessage( 'authprovider-confirmlink-failed' ) + $combinedStatus->getMessage( 'authprovider-confirmlink-failed' ), + 'error' ); } }