remove google and oauth login
This commit is contained in:
@@ -6,7 +6,6 @@ import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatDividerModule } from '@angular/material/divider';
|
||||
import { AuthService } from '../../core/services/auth.service';
|
||||
import { NgIf } from '@angular/common';
|
||||
|
||||
@@ -16,7 +15,7 @@ import { NgIf } from '@angular/common';
|
||||
imports: [
|
||||
RouterLink, ReactiveFormsModule, NgIf,
|
||||
MatCardModule, MatFormFieldModule, MatInputModule, MatButtonModule,
|
||||
MatProgressSpinnerModule, MatDividerModule,
|
||||
MatProgressSpinnerModule,
|
||||
],
|
||||
template: `
|
||||
<div class="min-h-screen flex items-center justify-center bg-gray-50 px-4">
|
||||
@@ -48,19 +47,6 @@ import { NgIf } from '@angular/common';
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<div class="my-4">
|
||||
<mat-divider></mat-divider>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col gap-3">
|
||||
<a mat-stroked-button href="/oauth2/authorization/google" class="w-full">
|
||||
Sign in with Google
|
||||
</a>
|
||||
<a mat-stroked-button href="/oauth2/authorization/github" class="w-full">
|
||||
Sign in with GitHub
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<p class="text-center mt-6 text-sm text-gray-500">
|
||||
Don't have an account?
|
||||
<a routerLink="/register" class="text-indigo-600 font-medium hover:underline">Register</a>
|
||||
|
||||
Reference in New Issue
Block a user