Ticket #4335 (closed Bug: fixed)

Opened 7 years ago

Last modified 3 years ago

Cannot log in to Plone from Webmail

Reported by: mellvik Owned by:
Priority: minor Milestone: 2.1
Component: Templates/CSS Version:
Severity: Keywords:
Cc:

Description

1) The registration process sends the initial password to the user with a link to the login window - such as "For direct login go to  http://www.mysite.com/m_login_form?username=helge.skrivervik@gmail.com"

2) the user hits the link, enters the password and clicks the login button or hits enter 3) ... and suddenly we're back in the webmail app (gmail in this case) - which is all but surprised by the status_message in the URL (You+are+now+logged+in etc)

It seems like came_from in logged_in needs some more massaging.

Change History

comment:1 Changed 7 years ago by optilude

Sounds like an unclever use of HTTP_REFERER

comment:2 Changed 7 years ago by alecm

I've got a fix for this locally that adds a new method to portal_url which checks to see if the referring (came_from) URL is actually a url in the portal, and only uses it if it is. Will commit shortly.

comment:3 Changed 7 years ago by alecm

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in plone svn because I'm impatient. method will be moved into CMFCore URLTool once I have commit access.

comment:4 Changed 3 years ago by hannosch

  • Component changed from Accessibility to Templates/CSS
Note: See TracTickets for help on using tickets.