user sign_in page doesn't appear, and get 500 with ldap enabled and signin disabled
Created by: arif-ali
with signin_enabled: false
, and ldap enabled, the login screen doesn't appear and we get a 500 error page with the following error in the production.log
Started GET "/users/sign_in" for 127.0.0.1 at 2014-10-22 08:48:14 +0100
Processing by SessionsController#new as HTML
Completed 500 Internal Server Error in 70ms
ActionView::Template::Error (undefined local variable or method `provider' for #<#<Class:0x007fc09a3174c0>:0x007fc099eb6c50>):
1: = form_tag(user_omniauth_callback_path(provider), id: 'new_ldap_user' ) do
2: = text_field_tag :username, nil, {class: "form-control top", placeholder: "LDAP Login", autofocus: "autofocus"}
3: = password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
4: %br/
app/views/devise/sessions/_new_ldap.html.haml:1:in `_app_views_devise_sessions__new_ldap_html_haml___1555464160440620159_70232599617160'
app/views/devise/sessions/new.html.haml:20:in `_app_views_devise_sessions_new_html_haml___3088862564575240269_70232598795860'
Once you have signin_enabled: true
, then all is good, except for the fact, I have a another tab for standard login, which I don't really want.
btw, running be80837a of the code, i.e. it reports as 7.4.0.rc1