Change mobile login form to post to proper URL for OpenID login. Resolves #810.

This commit is contained in:
Eric Allen 2009-01-02 02:22:06 -05:00
parent 2eb9151d2e
commit b86c7341ff
2 changed files with 9 additions and 1 deletions

View file

@ -39,7 +39,7 @@
<h4>...or login with an Open ID:</h4>
<div id="openid_auth_form">
<% form_tag formatted_open_id_begin_path(:format => 'm') do %>
<% form_tag formatted_login_path(:format => 'm') do %>
<table>
<tr>
<td width="100px"><label for="openid_url">Identity URL:</label></td>

View file

@ -0,0 +1,8 @@
require File.dirname(__FILE__) + '/../../spec_helper'
describe "/login.m" do
it "should render without an error" do
render :action => 'login/login_mobile.html.erb', :layout => 'mobile.m.erb'
response.should_not have_tag("div#Application-Trace")
end
end