projects
/
squeep-authentication-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test coverage for allowed insecure cookies
[squeep-authentication-module]
/
lib
/
authenticator.js
diff --git
a/lib/authenticator.js
b/lib/authenticator.js
index 4449a94b700889f5c2196b77c91872ed0b52d26d..c69ada91c6ed6a5234942b1e6ae8eb92a420d7e6 100644
(file)
--- a/
lib/authenticator.js
+++ b/
lib/authenticator.js
@@
-274,7
+274,7
@@
class Authenticator {
'SameSite=Lax',
`Path=${this.options.dingus.proxyPrefix}/`,
];
- if (this.
options.authenticator.
secureAuthOnly) {
+ if (this.secureAuthOnly) {
cookieParts.push('Secure');
}
res.setHeader(Enum.Header.SetCookie, cookieParts.join('; '));