mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 19:44:52 +00:00
Finish frame for LDAP auth
This commit is contained in:
@@ -43,7 +43,8 @@ export const injectAuditLogInfo = fp(async (server: FastifyZodProvider) => {
|
||||
payload.actor = {
|
||||
type: ActorType.USER,
|
||||
metadata: {
|
||||
email: req.auth.user.email,
|
||||
email: req.auth.user.email as string | undefined,
|
||||
username: req.auth.user.username as string | undefined,
|
||||
userId: req.permission.id
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user