diff --git a/src/Libraries/Basic/ShieldOAuth.php b/src/Libraries/Basic/ShieldOAuth.php index c232fa2..2eed5ef 100644 --- a/src/Libraries/Basic/ShieldOAuth.php +++ b/src/Libraries/Basic/ShieldOAuth.php @@ -99,7 +99,7 @@ private function otherOAuth() { $pieces = explode('|', $this->allOAuth()); - return array_diff($pieces, ['github', 'google']); + return array_diff($pieces, ['github', 'google', 'microsoft']); } /** @@ -127,10 +127,11 @@ public function makeOAuthButton(string $forPage = 'login'): string $Button .= '" . lang('ShieldOAuthLang.Google.google') . ''; $Button .= '" . lang('ShieldOAuthLang.Github.github') . ''; + $Button .= '" . lang('ShieldOAuthLang.Microsoft.microsoft') . ''; if ($this->otherOAuth() !== []) { $Button .= "