Remember me checkbox for OIDC login is affecting checkbox for LDAP login
Summary
When clicking the remember me checkbox on the login page for the OIDC login, the remember me checkbox for the LDAP login is checked.
Steps to reproduce
- Open login page with LDAP and OIDC enabled.
- Click the remember me checkbox below the OIDC login button.
- See remember me checkbox for the LDAP login being checked (cf. attached screenshot)
Example Project
What is the current bug behavior?
Due to the same ID of two distinct checkboxes, the first checkbox is ticked, although the second checkbox is clicked. The second checkbox is also not part of the second form.
What is the expected correct behavior?
The checkbox that is clicked is being ticked.
Relevant logs and/or screenshots
Results of GitLab environment info
Expand for output related to GitLab environment info
GitLab information Version: 15.6.2 Revision: 2d7e4701985 ... Using LDAP: yes Using Omniauth: yes Omniauth Providers: gitlab, github, bitbucket, openid_connect