johnbrett / Getting-Started-with-hapi.js

Code examples for the book: Getting Started with hapi.js
https://gettingstartedwithhapijs.com
27 stars 16 forks source link

fix: use min 32 password #6

Closed calendee closed 8 years ago

calendee commented 8 years ago

Cookie encoding requires the password to be at least 32 characters long.

If less than 32 characters, this error is thrown:

Error: Failed to encode cookie (example) value: Password string too short (min 32 characters required)