mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 07:27:43 +00:00
fix: add last login method/at to new project identity membership route
This commit is contained in:
@@ -140,6 +140,8 @@ export const registerIdentityProjectMembershipRouter = async (server: FastifyZod
|
|||||||
temporaryAccessEndTime: z.date().nullable().optional()
|
temporaryAccessEndTime: z.date().nullable().optional()
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
lastLoginAuthMethod: z.string().nullable().optional(),
|
||||||
|
lastLoginTime: z.date().nullable().optional(),
|
||||||
identity: IdentitiesSchema.pick({ name: true, id: true, orgId: true, projectId: true }).extend({
|
identity: IdentitiesSchema.pick({ name: true, id: true, orgId: true, projectId: true }).extend({
|
||||||
authMethods: z.array(z.string()),
|
authMethods: z.array(z.string()),
|
||||||
metadata: z
|
metadata: z
|
||||||
|
|||||||
Reference in New Issue
Block a user