revert identifyEnv implementation

This commit is contained in:
J Shamsul Bahri (jibone))
2020-09-24 11:28:43 +08:00
parent 32def99071
commit e3b504798a
@@ -105,13 +105,8 @@ export class SamlAuthProvider implements AuthProviderRouteHandlers {
res.send('noop');
}
identifyEnv(req: express.Request): string | undefined {
const reqEnv = req.query.env?.toString();
if (reqEnv) {
return reqEnv;
}
return 'development';
identifyEnv(): string | undefined {
return undefined;
}
}