Opened 8 years ago
Closed 8 years ago
#52670 closed defect (fixed)
Suggested login link is wrong
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | admin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | server/hosting | Version: | |
Keywords: | Cc: | ||
Port: |
Description
If I'm not logged in yet, and I visit https://trac.macports.org/newticket, I'm told:
close You are currently not logged in. You may want to do so now.
Error: Forbidden
TICKET_CREATE privileges are required to perform this operation on Ticket #None. You don't have the required permissions.
Note the misplaced word "close" at the beginning, which should presumably be some kind of button or icon.
If I then click the words "do so", I'm told:
Error: Not Found
No handler matched request to /login
Our actual login link is https://trac.macports.org/github/login. Can we get a web server redirect for this? Maybe:
RewriteEngine On RewriteRule ^/login$ /github/login [L,R]
Attachments (2)
Change History (5)
Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | Screen Shot 2016-10-21 at 9.24.42 PM.png added |
---|
Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | Screen Shot 2016-10-21 at 9.24.50 PM.png added |
---|
comment:1 Changed 8 years ago by raimue (Rainer Müller)
comment:2 follow-up: 3 Changed 8 years ago by neverpanic (Clemens Lang)
I think the first one is a CSS caching issue. Reloading moved the button to the right for me.
comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to raimue:
Trac does not allow changing the login link there at the moment, which is why trac-github cannot do it automatically (upstream issue). I added the suggested redirect rule to the web server config now.
Thanks, that's working great.
Replying to neverpanic:
I think the first one is a CSS caching issue. Reloading moved the button to the right for me.
Agreed.
I do not see this "close" link here.
Trac does not allow changing the login link there at the moment, which is why trac-github cannot do it automatically (upstream issue). I added the suggested redirect rule to the web server config now.