Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed empty cachepwd field in activation process (again, ... sorry!) #55

Closed
wants to merge 1 commit into from
Closed

Conversation

gadgetto
Copy link

@gadgetto gadgetto commented Dec 5, 2015

The problem is, the original: $this->user->set('cachepwd',''); doesn't work as this generates a hash of an empty value and the cachepwd field isn't emptied.

This is a problem in the MODX core and needs to be fixed.

My first fix (previous PR), using the _setRaw method also doesn't work in some cases, as this method is protected.

Signed-off-by: gadgetto

The problem is, the original: $this->user->set('cachepwd',''); doesn't work as this generates a hash of an empty value and the cachepwd field isn't emptied.

This is a problem in the MODX core and needs to be fixed.

My first fix (previous PR), using the _setRaw method also doesn't work in some cases, as this method is protected.

Signed-off-by: gadgetto <rij-Ub-eiD-yab-Yak-Ek>
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.

None yet

2 participants