hof 22.0.0-timeout-warning-beta.5 → 22.0.0-timeout-warning-beta.7
Sign up to get free protection for your applications and to get access to all the features.
package/config/hof-defaults.js
CHANGED
@@ -38,7 +38,7 @@ const defaults = {
|
|
38
38
|
host: process.env.REDIS_HOST || '127.0.0.1'
|
39
39
|
},
|
40
40
|
session: {
|
41
|
-
ttl: process.env.SESSION_TTL ||
|
41
|
+
ttl: process.env.SESSION_TTL || 1800,
|
42
42
|
secret: process.env.SESSION_SECRET || 'changethis',
|
43
43
|
name: process.env.SESSION_NAME || 'hod.sid',
|
44
44
|
sanitiseInputs: false
|
@@ -47,7 +47,7 @@ const defaults = {
|
|
47
47
|
pdfConverter: process.env.PDF_CONVERTER_URL
|
48
48
|
},
|
49
49
|
serveStatic: process.env.SERVE_STATIC_FILES !== 'false',
|
50
|
-
sessionTimeOutWarning: process.env.SESSION_TIMEOUT_WARNING ||
|
50
|
+
sessionTimeOutWarning: process.env.SESSION_TIMEOUT_WARNING || 300
|
51
51
|
};
|
52
52
|
|
53
53
|
module.exports = Object.assign({}, defaults, rateLimits);
|
@@ -115,7 +115,6 @@ window.GOVUK.sessionDialog = {
|
|
115
115
|
let chunk;
|
116
116
|
let ints;
|
117
117
|
let i;
|
118
|
-
let word;
|
119
118
|
let words = 'and';
|
120
119
|
|
121
120
|
if (parseInt(string, 10) === 0) {
|
@@ -170,7 +169,7 @@ window.GOVUK.sessionDialog = {
|
|
170
169
|
}
|
171
170
|
|
172
171
|
/* Add tens word if array item exists */
|
173
|
-
if (
|
172
|
+
if (tens[ints[1]]) {
|
174
173
|
words.push(tens[ints[1]]);
|
175
174
|
}
|
176
175
|
|
package/package.json
CHANGED
@@ -9351,7 +9351,7 @@ dialog[open] + .backdrop, dialog[open]::backdrop {
|
|
9351
9351
|
font-family: "ntatabularnumbers", "nta", Arial, sans-serif;
|
9352
9352
|
}
|
9353
9353
|
|
9354
|
-
.dialog-
|
9354
|
+
.dialog-exit-link {
|
9355
9355
|
font-family: "GDS Transport", arial, sans-serif;
|
9356
9356
|
-webkit-font-smoothing: antialiased;
|
9357
9357
|
-moz-osx-font-smoothing: grayscale;
|
@@ -9363,25 +9363,25 @@ dialog[open] + .backdrop, dialog[open]::backdrop {
|
|
9363
9363
|
margin: 5px;
|
9364
9364
|
}
|
9365
9365
|
@media print {
|
9366
|
-
.dialog-
|
9366
|
+
.dialog-exit-link {
|
9367
9367
|
font-family: sans-serif;
|
9368
9368
|
}
|
9369
9369
|
}
|
9370
9370
|
@media (min-width: 40.0625em) {
|
9371
|
-
.dialog-
|
9371
|
+
.dialog-exit-link {
|
9372
9372
|
font-size: 24px;
|
9373
9373
|
font-size: 1.5rem;
|
9374
9374
|
line-height: 1.25;
|
9375
9375
|
}
|
9376
9376
|
}
|
9377
9377
|
@media print {
|
9378
|
-
.dialog-
|
9378
|
+
.dialog-exit-link {
|
9379
9379
|
font-size: 18pt;
|
9380
9380
|
line-height: 1.15;
|
9381
9381
|
}
|
9382
9382
|
}
|
9383
9383
|
@media (min-width: 40.0625em) {
|
9384
|
-
.dialog-
|
9384
|
+
.dialog-exit-link {
|
9385
9385
|
font-family: "GDS Transport", arial, sans-serif;
|
9386
9386
|
-webkit-font-smoothing: antialiased;
|
9387
9387
|
-moz-osx-font-smoothing: grayscale;
|
@@ -9396,19 +9396,19 @@ dialog[open] + .backdrop, dialog[open]::backdrop {
|
|
9396
9396
|
}
|
9397
9397
|
}
|
9398
9398
|
@media print and (min-width: 40.0625em) {
|
9399
|
-
.dialog-
|
9399
|
+
.dialog-exit-link {
|
9400
9400
|
font-family: sans-serif;
|
9401
9401
|
}
|
9402
9402
|
}
|
9403
9403
|
@media (min-width: 40.0625em) and (min-width: 40.0625em) {
|
9404
|
-
.dialog-
|
9404
|
+
.dialog-exit-link {
|
9405
9405
|
font-size: 19px;
|
9406
9406
|
font-size: 1.1875rem;
|
9407
9407
|
line-height: 1.3157894737;
|
9408
9408
|
}
|
9409
9409
|
}
|
9410
9410
|
@media print and (min-width: 40.0625em) {
|
9411
|
-
.dialog-
|
9411
|
+
.dialog-exit-link {
|
9412
9412
|
font-size: 14pt;
|
9413
9413
|
line-height: 1.15;
|
9414
9414
|
}
|
@@ -415,7 +415,6 @@ window.GOVUK.sessionDialog = {
|
|
415
415
|
let chunk;
|
416
416
|
let ints;
|
417
417
|
let i;
|
418
|
-
let word;
|
419
418
|
let words = 'and';
|
420
419
|
|
421
420
|
if (parseInt(string, 10) === 0) {
|
@@ -470,7 +469,7 @@ window.GOVUK.sessionDialog = {
|
|
470
469
|
}
|
471
470
|
|
472
471
|
/* Add tens word if array item exists */
|
473
|
-
if (
|
472
|
+
if (tens[ints[1]]) {
|
474
473
|
words.push(tens[ints[1]]);
|
475
474
|
}
|
476
475
|
|