Skip to content

Commit 7ecb764

Browse files
committed
#29 -- Fix JSON serialization.
1 parent 431c1e9 commit 7ecb764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dto/UserDto.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public function jsonSerialize(): array
351351
return [
352352
'id' => $this->getId(),
353353
'email' => $this->getEmail(),
354-
'auth_password' => $this->getNewPassword(),
354+
'new_password' => $this->getNewPassword(),
355355
'name' => $this->getName(),
356356
'locale' => $this->getLocale(),
357357
'theme' => $this->getTheme(),

0 commit comments

Comments
 (0)