mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 02:47:35 +00:00
Refactor auth middleware to accept multiple auth modes
This commit is contained in:
@@ -139,7 +139,7 @@ export const pullSecrets = async (req: Request, res: Response) => {
|
||||
environment
|
||||
});
|
||||
|
||||
if (channel !== 'cli') { // TODO: fix frontend to get rid of this reformat bs
|
||||
if (channel !== 'cli') {
|
||||
secrets = reformatPullSecrets({ secrets });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user