diff --git a/Moonlight/Shared/Components/Auth/Login.razor b/Moonlight/Shared/Components/Auth/Login.razor index 368d33d1..2be673c2 100644 --- a/Moonlight/Shared/Components/Auth/Login.razor +++ b/Moonlight/Shared/Components/Auth/Login.razor @@ -55,11 +55,14 @@ } -
- - Or with email - -
+ @if (OAuth2Service.Providers.Any()) + { +
+ + Or with email + +
+ }
diff --git a/Moonlight/Shared/Components/Auth/Register.razor b/Moonlight/Shared/Components/Auth/Register.razor index aeabc563..aa2346aa 100644 --- a/Moonlight/Shared/Components/Auth/Register.razor +++ b/Moonlight/Shared/Components/Auth/Register.razor @@ -48,11 +48,14 @@
} -
- - Or with email - -
+ @if (OAuth2Service.Providers.Any()) + { +
+ + Or with email + +
+ }