Skip to content

Commit

Permalink
[#1540] addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pzadroga committed Oct 24, 2024
1 parent a1da666 commit e740010
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog_unreleased/1540-ldap-login-fails.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[bug] piotrek

Fixed a bug where login was not possible using
the LDAP authentication method.
(Gitlab #1540)
2 changes: 1 addition & 1 deletion webui/src/app/login-screen/login-screen.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class LoginScreenComponent implements OnInit {
signIn() {
Object.keys(this.loginForm.controls).forEach((k) => this.loginForm.get(k).markAsDirty())
if (this.loginForm.valid) {
this.auth.login(this.f?.authenticationMethod?.id, this.f?.identifier, this.f?.secret, this.returnUrl)
this.auth.login(this.f.authenticationMethod.id, this.f.identifier, this.f.secret, this.returnUrl)
}
}

Expand Down

0 comments on commit e740010

Please sign in to comment.