Upgrade from statehood v6.0.9 to @hapi/statehood v6.1.2 (#100319)

This commit is contained in:
Thomas Watson 2021-05-19 16:52:13 +02:00 committed by GitHub
parent 84fa5add86
commit a726f59550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 3 deletions

View file

@ -6,7 +6,7 @@
import hapiAuthCookie from 'hapi-auth-cookie';
// eslint-disable-next-line import/no-extraneous-dependencies
import Statehood from 'statehood';
import Statehood from '@hapi/statehood';
const HAPI_STRATEGY_NAME = 'security-cookie';
// Forbid applying of Hapi authentication strategies to routes automatically.