Guest User

Untitled

a guest
Feb 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. 'providers' => [
  2. 'users' => [
  3. ...
  4. 'model' => AppStudent::class,
  5. ],
  6. ...
  7. ]
  8.  
  9. ...
  10. use IlluminateFoundationAuthUser as Authenticatable; //remove this line
  11. use IlluminateDatabaseEloquentModel; //Add this line
  12.  
  13. class User extends Model {
  14. ...
  15. }
  16.  
  17. ...
  18. use IlluminateFoundationAuthUser as Authenticatable; //Add this
  19. ...
  20.  
  21. class Student extends Authenticatable {
  22. ...
  23. }
Add Comment
Please, Sign In to add comment