Merge pull request 'feat: rename header key basic auth' (#156) from feat/otp-cancel into development
Reviewed-on: #156pull/157/head
commit
068c4ce349
|
@ -34,7 +34,6 @@ export class OtpAuthGuard implements CanActivate {
|
||||||
const jwtAuth = request.headers['authorization'];
|
const jwtAuth = request.headers['authorization'];
|
||||||
const basicAuth = request.headers['x-basic-authorization'];
|
const basicAuth = request.headers['x-basic-authorization'];
|
||||||
|
|
||||||
console.log({ jwtAuth, basicAuth });
|
|
||||||
// 1. Cek OTP Auth (basic_authorization header)
|
// 1. Cek OTP Auth (basic_authorization header)
|
||||||
if (basicAuth) {
|
if (basicAuth) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue