Skip to content

Commit 43bf9d3

Browse files
committed
Output if the current user email is verified
1 parent 9bce092 commit 43bf9d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Entity/User/AbstractUser.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ abstract class AbstractUser implements SymfonyUserInterface, PasswordAuthenticat
101101
#[ApiProperty(readable: false, writable: false)]
102102
public ?string $plainNewEmailConfirmationToken = null;
103103

104-
#[ApiProperty(readable: false, writable: false)]
104+
#[ApiProperty(readable: true, writable: false)]
105+
#[Groups(['User:output', 'Form:cwa_resource:read'])]
105106
protected bool $emailAddressVerified = false;
106107

107108
/**

0 commit comments

Comments
 (0)