Opened 10 years ago

Closed 9 years ago

#1569 closed defect (fixed)

"reply" link in message e-mail does not work when logged in with different account

Reported by: woodpeck Owned by: Tom Hughes
Priority: minor Milestone:
Component: website Version:
Keywords: Cc:


I have more than one OSM account and I am currently logged in with account #1. Account #2 receives a message and an e-mail is sent with a link that says "you can reply at .../message/reply/1234". Clicking this link leads to an empty browser window - likely some kind of Ruby exception behind the scenes because the logged-in user and the message owner are not the same.

The desired behaviour would be to show a message saying "you are logged in as X and you cannot read this message, click here to re-login" or so. (Automatically kicking the user out would perhaps be undesirable.)

Change History (1)

comment:1 Changed 9 years ago by tomhughes

Resolution: fixed
Status: newclosed

(In [20207]) Tidy up error handling in the message controller, and make it redirect to the login page if you are logged in as the wrong user. Closes #1569.

Note: See TracTickets for help on using tickets.