Commit 0d74154a authored by Dmitry Smirnov's avatar Dmitry Smirnov

fix LDAP omniauth regression (Closes: #22357)

~~~~
ActionView::Template::Error (undefined method `user_omniauth_callback_path'
~~~~
Signed-off-by: default avatarDmitry Smirnov <onlyjob@member.fsf.org>
parent 0c7f38bd
= form_tag(user_omniauth_callback_path(server['provider_name']), id: 'new_ldap_user' ) do
= form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user') do
= text_field_tag :username, nil, {class: "form-control top", placeholder: "#{server['label']} Login", autofocus: "autofocus"}
= password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
- if devise_mapping.rememberable?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment