mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 12:08:47 +01:00
Change mobile login form to post to proper URL for OpenID login. Resolves #810.
This commit is contained in:
parent
2eb9151d2e
commit
b86c7341ff
2 changed files with 9 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
8
spec/views/login/login_mobile.html.erb_spec.rb
Normal file
8
spec/views/login/login_mobile.html.erb_spec.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue