Closes #1023. Display login form when ldap is the only auth system

This commit is contained in:
rverchere 2010-04-16 04:18:15 +08:00 committed by Eric Allen
parent e15425d546
commit b9f1f57740

View file

@ -1,5 +1,5 @@
<% auth_schemes = Tracks::Config.auth_schemes
show_database_form = auth_schemes.include?('database')
show_database_form = auth_schemes.include?('database') || auth_schemes.include?('ldap')
show_openid_form = auth_schemes.include?('open_id')
show_cas_form = auth_schemes.include?('cas')
-%>