gitlab-org--gitlab-foss/app/views/devise
Robert Speicher 8138f340f8 Merge branch 'rs-fix-ldap-2fa-login' into 'master'
Fix 2FA-based login for LDAP users

The OTP input form is shared by both LDAP and standard logins, but when
coming from an LDAP-based form, the form parameters aren't nested in a
Hash based on the `resource_name` value.

Now we check for a nested `remember_me` parameter and use that if it
exists, or fall back to the non-nested parameters if it doesn't.

Somewhat confusingly, the OTP input form _does_ nest parameters under
the `resource_name`, regardless of what type of login we're coming from,
so that allows everything else to work as normal.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/18185

See merge request !4493
2016-06-09 18:43:22 +00:00
..
confirmations Allow custom text on 'almost there' page 2016-06-08 19:08:53 +01:00
mailer New confirmation email 🔥 2016-05-25 16:56:06 -04:00
passwords Autofocus the email field on the password reset form 2015-09-30 15:39:59 -04:00
registrations Add a page title to every page. 2015-04-30 19:12:15 +02:00
sessions Fix 2FA-based login for LDAP users 2016-06-07 18:47:46 -04:00
shared Added minimum password length to password field 2016-06-03 11:48:11 +01:00
unlocks Allow account unlock via email 2015-12-14 15:35:02 -06:00