"Log in" link doesn't go to a login page anymore
The "Log in" link at the top right of the page, where it says: "Not logged in. Log in", just redirects you to the front page. It's doing this at support.inklingmarkets.com, and at help.tenderapp.com. Didn't this used to take you right to the login page?
Discussions are closed to public comments.
If you need help with Tender please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by nate on 06 Feb, 2009 02:44 PM
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.
Support Staff 2 Posted by Courtenay on 06 Feb, 2009 06:13 PM
Hey Nate,
You have the cookie-based login code ("HMAC") enabled, right? You should set the "Login URL" in your admin settings.
Support Staff 3 Posted by Courtenay on 06 Feb, 2009 06:18 PM
For example on Lighthouse we use
When the user logs into Lighthouse, it then returns them to the support site.
4 Posted by nate on 06 Feb, 2009 06:18 PM
I'm confused. But I want to use your login page. I haven't touched
this login page setting stuff. I just went ahead and generated the
HMAC secret now thinking that's what you are talking about, but that
didn't work. But I've never set the login url and didn't want to.
I noticed that login page is working on help.tenderapp.com now. It
wasn't this morning either.
5 Posted by nate on 06 Feb, 2009 06:21 PM
Right, i get that. But I wanted the native login page. I tried to
set the login just now to junk, than reset it to blank, but that
didn't work. Now I'm thinking of setting the login page to:
http://support.inklingmarkets.com/login
Support Staff 6 Posted by Courtenay on 06 Feb, 2009 06:22 PM
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?
7 Posted by nate on 06 Feb, 2009 06:28 PM
I'm almost positive I've never clicked the "Click here to set the HMAC
login." before just after receiving your reply about this issue. And,
I'm 99.9% positive I've never set the alternate login url, also until
just now trying to futz with a workaround.
Thanks for looking into a fix. I did confirm that a brand new tender:
testsite.tenderapp.com, didn't exhibit the same problem. The "Log in"
link is working fine there.
Support Staff 8 Posted by Courtenay on 06 Feb, 2009 06:30 PM
Oh, I see what the problem is.
Will fix and deploy ASAP.
Support Staff 9 Posted by Courtenay on 06 Feb, 2009 06:35 PM
Yes, as it turns out a blank field and a null field are different things.
Support Staff 10 Posted by Courtenay on 06 Feb, 2009 06:37 PM
This is fixed. Thanks for your patience and excellent bug report :)
Courtenay closed this discussion on 06 Feb, 2009 06:37 PM.
nate re-opened this discussion on 06 Feb, 2009 06:39 PM
11 Posted by nate on 06 Feb, 2009 06:39 PM
:) I know that problem. Were you guys just doing a:
if site.login_url return site.login_url else return "/login?to=something" end
kind of thing? Instead of a
if !site.login_url.blank?
?12 Posted by nate on 06 Feb, 2009 06:43 PM
Thanks man! Maybe activerecord should set blanks to nil by default doing updates/creates? Or maybe, and this is probably even a worse idea.
"".nil?
should return true.Support Staff 13 Posted by Courtenay on 06 Feb, 2009 07:00 PM
Hahaha something like that. Amateur hour at ENTP
============ Courtenay (310) 294-4026
On Feb 6, 2009, at 10:40 AM, Tender Support [email blocked]
wrote: