Skip to content

updateUser method#16

Open
vito80ba wants to merge 6 commits into
collective:masterfrom
vito80ba:master
Open

updateUser method#16
vito80ba wants to merge 6 commits into
collective:masterfrom
vito80ba:master

Conversation

@vito80ba

Copy link
Copy Markdown

Using the "Login with email address" on a plone instance without this method it's impossible to obtain success changing your own email address (for all of the user, also by admin access).

@malthe

malthe commented Apr 17, 2012

Copy link
Copy Markdown
Member

I see an empty diff. What's the changeset here?

@vito80ba

Copy link
Copy Markdown
Author

@macagua

macagua commented Mar 13, 2015

Copy link
Copy Markdown
Member

@malthe and @vito80ba What about this pull request ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not fail if no user can be found; perhaps you want to use the one() method? Otherwise, the method will fail in the next line with a "can't assign attribute to None object".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants