Commit 8e198cf5 authored by o's avatar o
Browse files

fix post url

parent 679c9270
......@@ -20,7 +20,7 @@ webmail_locales_map = {
}
%>
<%= form_tag(request.path, method: 'post', target: '_self') do %>
<%= form_tag(request.path, method: 'post', target: url_for(action: 'login', controller: 'saml_login')) do %>
<%= hidden_field_tag("SAMLRequest", params[:SAMLRequest] || @saml_request_string) %>
<%= hidden_field_tag("RelayState", params[:RelayState] || @saml_relay_state) %>
<p>
......
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