Fixed missing email verification attribute
This commit is contained in:
parent
0ece2fbb50
commit
d15394ad68
|
@ -476,6 +476,7 @@ $utopia->get('/v1/account')
|
|||
[
|
||||
'$id',
|
||||
'email',
|
||||
'emailVerification',
|
||||
'registration',
|
||||
'name',
|
||||
],
|
||||
|
|
|
@ -53,11 +53,11 @@ $utopia->post('/v1/users')
|
|||
'write' => ['user:{self}'],
|
||||
],
|
||||
'email' => $email,
|
||||
'emailVerification' => false,
|
||||
'status' => Auth::USER_STATUS_UNACTIVATED,
|
||||
'password' => Auth::passwordHash($password),
|
||||
'password-update' => time(),
|
||||
'registration' => time(),
|
||||
'emailVerification' => false,
|
||||
'reset' => false,
|
||||
'name' => $name,
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue