style(login): format code and improve readability

This commit is contained in:
Jan Gleytenhoover 2025-01-21 15:38:24 +01:00
parent 739475ffcf
commit e3f35699b7
Signed by: jank
GPG key ID: 50620ADD22CD330B

View file

@ -80,7 +80,10 @@ export class LoginComponent {
loginWithAuthentik() {
this.pb
.collection('users')
.authWithOAuth2({ provider: 'oidc', scopes: ['openid', 'email', 'profile', 'avatar'] })
.authWithOAuth2({
provider: 'oidc',
scopes: ['openid', 'email', 'profile', 'avatar'],
})
.then(() => {
this.router.navigate(['dashboard']);
})