mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge branch 'change_password_require_password' of github.com:gradido/gradido into change_password_require_password
This commit is contained in:
commit
81edccfa56
@ -164,6 +164,9 @@ Poco::JSON::Object* JsonUpdateUserInfos::handle(Poco::Dynamic::Var params)
|
|||||||
|
|
||||||
if (str_val.size() > 0) {
|
if (str_val.size() > 0) {
|
||||||
|
|
||||||
|
if (!user->hasPassword() || isOldPasswordValid(updates, jsonErrorsArray))
|
||||||
|
{
|
||||||
|
|
||||||
if (!user->hasPassword() || isOldPasswordValid(updates, jsonErrorsArray))
|
if (!user->hasPassword() || isOldPasswordValid(updates, jsonErrorsArray))
|
||||||
{
|
{
|
||||||
NotificationList errors;
|
NotificationList errors;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user