LDAP done

This commit is contained in:
vsizov 2012-01-28 16:23:17 +03:00
parent d885f24f7b
commit d6a0b8f428
6 changed files with 37 additions and 24 deletions

View file

@ -9,5 +9,7 @@
<br/>
<%= f.submit "Sign in", :class => "grey-button" %>
<div class="right"> <%= render :partial => "devise/shared/links" %></div>
<%= user_omniauth_authorize_path(:ldap)%>
<% if ldap_enable? -%>
<p><%= link_to "via LDAP", user_omniauth_authorize_path(:ldap)%></p>
<% end -%>
<% end %>