style: format HTML and TypeScript code for consistency
This commit is contained in:
parent
ba520eea10
commit
739475ffcf
7 changed files with 40 additions and 18 deletions
|
@ -38,7 +38,7 @@ export class LoginComponent {
|
|||
constructor(
|
||||
private router: Router,
|
||||
private snackBar: MatSnackBar,
|
||||
) {}
|
||||
) { }
|
||||
|
||||
private validationErrorMessages: Record<string, string> = {
|
||||
required: 'This field is required',
|
||||
|
@ -80,7 +80,7 @@ export class LoginComponent {
|
|||
loginWithAuthentik() {
|
||||
this.pb
|
||||
.collection('users')
|
||||
.authWithOAuth2({ provider: 'oidc' })
|
||||
.authWithOAuth2({ provider: 'oidc', scopes: ['openid', 'email', 'profile', 'avatar'] })
|
||||
.then(() => {
|
||||
this.router.navigate(['dashboard']);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue