mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
Update basic-auth-hook.js
This commit is contained in:
parent
f5f8cde16b
commit
a43cf46656
@ -16,7 +16,7 @@ function basicAuthentication(app) {
|
|||||||
return res
|
return res
|
||||||
.status('401')
|
.status('401')
|
||||||
.set({ 'WWW-Authenticate': 'Basic realm="example"' })
|
.set({ 'WWW-Authenticate': 'Basic realm="example"' })
|
||||||
.send('access denied');
|
.end('access denied');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user