Merge branch 'change_password_require_password' of github.com:gradido/gradido into change_password_require_password

This commit is contained in:
einhornimmond 2021-06-14 16:53:07 +02:00
commit 81edccfa56

View File

@ -164,6 +164,9 @@ Poco::JSON::Object* JsonUpdateUserInfos::handle(Poco::Dynamic::Var params)
if (str_val.size() > 0) {
if (!user->hasPassword() || isOldPasswordValid(updates, jsonErrorsArray))
{
if (!user->hasPassword() || isOldPasswordValid(updates, jsonErrorsArray))
{
NotificationList errors;