Correction in Authentication chapter

on page 247, the reader is instructed to “import Crypto”, but Crypto has not been added to Package.swift yet

later on page 253, the reader is instructed to add the Authentication library to Package.swift, but still leave out Crypto and the target declaration.

The changes to Package.swift should probably be moved to the beginning of the chapter, and both additions gotten out of the way early.

@eric_wvgg Crypto is exported by Vapor so you should be able to import it without needing the authentication package

Gotcha.

page 136: steps in code are listed as 1-9; explanation of code lists 1-7, then 1 and 2 again

1 Like

Oops! Thanks for letting me know