22 Mei 2017 - As I understood Your code example is just copy of AuthenticatesUser trait. So to avoid big changes and make it work, just replace default controller code in .