[36746] Unset plain password accessor after saving (#9157)
* [36746] Unset plain password accessor after saving Otherwise, this password remains and is validated again due to "user.register!" which then fails with an exception https://community.openproject.org/wp/36746 * Don't try to use user.password after saving it now gets cleared * Remove user.password usage in specs The user password attribute is an accessor that now gets deleted after saving so tests can no longer depend on it being present after created from a Factory * Also retain user password in mail handlerpull/9160/head
parent
a75ff8534e
commit
2d22930bdb
Loading…
Reference in new issue