feat(login): add Authentik login button and functionality
This commit is contained in:
parent
b218697867
commit
cb658a7721
3 changed files with 53 additions and 6 deletions
|
@ -7,14 +7,28 @@
|
|||
<mat-form-field appearance="outline">
|
||||
<mat-error>{{ errorMessages["email"] }}</mat-error>
|
||||
<mat-label>Email</mat-label>
|
||||
<input formControlName="email" type="email" matInput placeholder="banana@banana.com" />
|
||||
<input
|
||||
formControlName="email"
|
||||
type="email"
|
||||
matInput
|
||||
placeholder="banana@banana.com"
|
||||
/>
|
||||
</mat-form-field>
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-error>{{ errorMessages["password"] }}</mat-error>
|
||||
<mat-label>Password</mat-label>
|
||||
<input formControlName="password" matInput type="password" placeholder="Aurelius14" />
|
||||
<input
|
||||
formControlName="password"
|
||||
matInput
|
||||
type="password"
|
||||
placeholder="Aurelius14"
|
||||
/>
|
||||
</mat-form-field>
|
||||
<button mat-flat-button type="submit" (click)="submit()">Login</button>
|
||||
<button class="mb-3" mat-flat-button type="submit" (click)="submit()">Login</button>
|
||||
<mat-divider></mat-divider>
|
||||
<button mat-flat-button [style.backgroundColor]="'#FD4B2D'" class="mt-3 mat-authentik" (click)="loginWithAuthentik()">
|
||||
Log in with Authentik
|
||||
</button>
|
||||
</form>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue