gitlab-org--gitlab-foss/app/views/devise/sessions
Robert Speicher 9f554aadd5 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.
2016-06-07 18:47:46 -04:00
..
_new_base.html.haml Added tags to disable autocapitalize and autocorrect on login field 2015-07-29 15:42:52 +08:00
_new_crowd.html.haml change the css class has_tooltip to has-tooltip universally 2016-03-20 21:37:22 +01:00
_new_ldap.html.haml Allow custom label to be set for authentication providers. 2015-07-23 15:20:12 +02:00
new.html.haml render the omniauth_box if there are any button_based_providers 2016-05-12 13:44:46 +03:00
two_factor.html.haml Fix 2FA-based login for LDAP users 2016-06-07 18:47:46 -04:00