Masonite 內建了一套基礎的用戶認證系統,包括 route、migration、model、controller、vew 都傳便便,在剛 craft install 完的系統裡面是沒有的,需要再下 craft auth 來幫我們把上面這些檔案搭出來,因為實在太簡單了,使得本篇看來有點像廢文…。

詳情請見 Masonite 的〈Authentication〉文件。