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