Skip to content

Commit d056d92

Browse files
committed
Values on the checkbox might differ as it is now - this should handle it better
1 parent e63734e commit d056d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/requests/auth-request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class AuthRequest {
8888

8989
let authQueryParams = AuthRequest.extractAuthParams(req)
9090
let returnToUrl = AuthRequest.parseParameter(req, 'returnToUrl')
91-
const acceptToc = AuthRequest.parseParameter(req, 'acceptToc') === 'true'
91+
const acceptToc = !!AuthRequest.parseParameter(req, 'acceptToc')
9292

9393
let options = {
9494
response: res,

0 commit comments

Comments
 (0)