feat: rename header key basic auth #156
|
@ -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