Loading lib/Listeners/BeforeUserDeletedListener.php +1 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ class BeforeUserDeletedListener implements IEventListener } else { $newEmail = $this->shopAccountService->getShopEmailPostDeletePreference($uid); $newEmail = $this->shopAccountService->updateUserEmail($shopUser['id'], $newEmail); $newEmail = $this->shopAccountService->updateUserEmailAndEmptyOIDC($shopUser['id'], $newEmail); } } } Loading lib/Service/ShopAccountService.php +3 −2 Original line number Diff line number Diff line Loading @@ -125,11 +125,12 @@ class ShopAccountService { } public function updateUserEmail(int $userId, string $email) : void { public function updateUserEmailAndEmptyOIDC(int $userId, string $email) : void { $updateUrl = $this->shopUserUrl . '/' . strval($userId); $params = [ 'email' => $email 'email' => $email, 'openid-connect-generic-last-user-claim' => [] ]; try { Loading Loading
lib/Listeners/BeforeUserDeletedListener.php +1 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ class BeforeUserDeletedListener implements IEventListener } else { $newEmail = $this->shopAccountService->getShopEmailPostDeletePreference($uid); $newEmail = $this->shopAccountService->updateUserEmail($shopUser['id'], $newEmail); $newEmail = $this->shopAccountService->updateUserEmailAndEmptyOIDC($shopUser['id'], $newEmail); } } } Loading
lib/Service/ShopAccountService.php +3 −2 Original line number Diff line number Diff line Loading @@ -125,11 +125,12 @@ class ShopAccountService { } public function updateUserEmail(int $userId, string $email) : void { public function updateUserEmailAndEmptyOIDC(int $userId, string $email) : void { $updateUrl = $this->shopUserUrl . '/' . strval($userId); $params = [ 'email' => $email 'email' => $email, 'openid-connect-generic-last-user-claim' => [] ]; try { Loading