security: move temporary-password marker to app metadata
This commit is contained in:
parent
1b2832257e
commit
46b4e94689
@ -153,7 +153,10 @@ Deno.serve(async (req: Request) => {
|
|||||||
email_confirm: true,
|
email_confirm: true,
|
||||||
user_metadata: {
|
user_metadata: {
|
||||||
name: displayName || email.split("@")[0],
|
name: displayName || email.split("@")[0],
|
||||||
|
},
|
||||||
|
app_metadata: {
|
||||||
must_change_password: true,
|
must_change_password: true,
|
||||||
|
password_policy_version: "v1774",
|
||||||
registration_source: "caterium_employee_admin",
|
registration_source: "caterium_employee_admin",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user