tag:help.tenderapp.com,2008-11-12:/discussions/problems/301-login-brokenTender: Discussion 2011-04-07T06:08:09Ztag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T14:44:37Z2009-02-06T14:44:37Z"Log in" link doesn't go to a login page anymore<div><p>Sorry, it actually just takes you to whatever page you are
already on. It doesn't go to the root page. So if I am on
"http://support.inklingmarkets.com/discussions", click "Log in" it
just links right to:
http://support.inklingmarkets.com/discussions.</p></div>natetag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:13:06Z2009-02-06T18:13:06Z"Log in" link doesn't go to a login page anymore<div><p>Hey Nate,</p>
<p>You have the cookie-based login code ("HMAC") enabled, right?
You should set the "Login URL" in your admin settings.</p></div>Courtenaytag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:18:12Z2009-02-06T18:18:12Z"Log in" link doesn't go to a login page anymore<div><p>For example on Lighthouse we use</p>
<pre>
<code>http://my.lighthouseapp.com/login?to=http://help.lighthouseapp.com</code>
</pre>
<p>When the user logs into Lighthouse, it then returns them to the
support site.</p></div>Courtenaytag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:18:23Z2009-02-06T18:18:23Z"Log in" link doesn't go to a login page anymore<div><p>I'm confused. But I want to use your login page. I haven't
touched<br>
this login page setting stuff. I just went ahead and generated
the<br>
HMAC secret now thinking that's what you are talking about, but
that<br>
didn't work. But I've never set the login url and didn't want
to.</p>
<p>I noticed that login page is working on help.tenderapp.com now.
It<br>
wasn't this morning either.</p></div>natetag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:21:31Z2009-02-06T18:21:31Z"Log in" link doesn't go to a login page anymore<div><p>Right, i get that. But I wanted the native login page. I tried
to<br>
set the login just now to junk, than reset it to blank, but
that<br>
didn't work. Now I'm thinking of setting the login page to:</p>
<p>http://support.inklingmarkets.com/login</p></div>natetag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:22:44Z2009-02-06T18:22:44Z"Log in" link doesn't go to a login page anymore<div><p>Yup, there was a change we pushed last night. I'll modify that.
Are you sure you didn't have the HMAC secret generated
previously?</p></div>Courtenaytag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:28:35Z2009-02-06T18:28:35Z"Log in" link doesn't go to a login page anymore<div><p>I'm almost positive I've never clicked the "Click here to set
the HMAC<br>
login." before just after receiving your reply about this issue.
And,<br>
I'm 99.9% positive I've never set the alternate login url, also
until<br>
just now trying to futz with a workaround.</p>
<p>Thanks for looking into a fix. I did confirm that a brand new
tender:<br>
testsite.tenderapp.com, didn't exhibit the same problem. The "Log
in"<br>
link is working fine there.</p></div>natetag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:30:32Z2009-02-06T18:30:32Z"Log in" link doesn't go to a login page anymore<div><p>Oh, I see what the problem is.</p>
<p>Will fix and deploy ASAP.</p></div>Courtenaytag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:35:36Z2009-02-06T18:35:36Z"Log in" link doesn't go to a login page anymore<div><p>Yes, as it turns out a blank field and a null field are
different things.</p></div>Courtenaytag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:37:34Z2009-02-06T18:37:34Z"Log in" link doesn't go to a login page anymore<div><p>This is fixed. Thanks for your patience and excellent bug report
:)</p></div>Courtenaytag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:39:57Z2009-02-06T18:39:57Z"Log in" link doesn't go to a login page anymore<div><p>:) I know that problem. Were you guys just doing a:</p>
<p><code>if site.login_url return site.login_url else return
"/login?to=something" end</code></p>
<p>kind of thing? Instead of a <code>if
!site.login_url.blank?</code> ?</p></div>natetag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T18:43:14Z2009-02-06T18:43:14Z"Log in" link doesn't go to a login page anymore<div><p>Thanks man! Maybe activerecord should set blanks to nil by
default doing updates/creates? Or maybe, and this is probably even
a worse idea. <code>"".nil?</code> should return true.</p></div>natetag:help.tenderapp.com,2008-11-12:Comment/608172009-02-06T19:00:24Z2009-02-06T19:00:24Z"Log in" link doesn't go to a login page anymore<div><p>Hahaha something like that. Amateur hour at ENTP</p>
<p>============ Courtenay (310) 294-4026</p>
<pre>
<code> ^{0,o}'</code>
</pre>
<p>On Feb 6, 2009, at 10:40 AM, Tender Support
<a>no-reply@tenderapp.com</a><br>
wrote:</p></div>Courtenay