mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-02 21:09:08 +00:00
Merge pull request #331 from dadosfera/feature/sso-openid
FIX: using only header origin
This commit is contained in:
@@ -186,7 +186,7 @@ export class IdentityProviderController {
|
||||
this.logger.info('GET /identity-providers/:id');
|
||||
|
||||
|
||||
const origin = req.headers['origin'] as string || req.headers['referer'] as string;
|
||||
const origin = req.headers['origin'] as string;
|
||||
console.log('Origin:', origin);
|
||||
|
||||
const lang = language.substring(0, 2) + language.substring(2).toUpperCase();
|
||||
|
||||
Reference in New Issue
Block a user