Skip to content

Commit

Permalink
Get the value as auth[:tender_*] is a hash consisting of :value and :…
Browse files Browse the repository at this point in the history
…domain.

Signed-off-by: Courtenay <courtenay@entp.com>
  • Loading branch information
kamal authored and courtenay committed Feb 27, 2009
1 parent 12bc254 commit ac1c25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README
Expand Up @@ -57,7 +57,7 @@ class SessionsController
if logged_in? || current_user = User.authenticate(params[:login], params[:password])
if params[:tender]
auth = current_user.tender_multipass({}, 1.week.from_now.to_i)
redirect_to "http://your.tenderapp.com/login?email=#{auth[:tender_email]}&expires=#{auth[:tender_expires]}&hash=#{auth[:tender_hash]}"
redirect_to "http://your.tenderapp.com/login?email=#{auth[:tender_email][:value]}&expires=#{auth[:tender_expires][:value]}&hash=#{auth[:tender_hash][:value]}"
else
redirect_to "/"
end
Expand Down

0 comments on commit ac1c25e

Please sign in to comment.