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)

Screen Shot 2016-10-21 at 9.24.42 PM.png (57.2 KB) - added by ryandesign (Ryan Carsten Schmidt) 8 years ago.
Screen Shot 2016-10-21 at 9.24.50 PM.png (23.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

comment:1 Changed 8 years ago by raimue (Rainer Müller)

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.

Last edited 8 years ago by raimue (Rainer Müller) (previous) (diff)

comment:2 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 in reply to:  2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.