Merge branch 'development' of ssh://git.eigen.co.id:2222/eigen/pos-be into development
commit
d995982203
|
@ -32,7 +32,7 @@ export class OtpAuthGuard implements CanActivate {
|
|||
async canActivate(context: ExecutionContext): Promise<boolean> {
|
||||
const request = context.switchToHttp().getRequest();
|
||||
const jwtAuth = request.headers['authorization'];
|
||||
const basicAuth = request.headers['basic_authorization'];
|
||||
const basicAuth = request.headers['x-basic-authorization'];
|
||||
|
||||
// 1. Cek OTP Auth (basic_authorization header)
|
||||
if (basicAuth) {
|
||||
|
|
Loading…
Reference in New Issue