I'm extended the login function on simpleauth class http://scrp.at/a3U and placed the file inside classes/auth/login/ then added it to the bootstrap http://scrp.at/a3V
When I call the \Auth::instance()->login($val->validated('username'), $val->validated('password')) for some reason the $this->user object returned is not what I expected. It returns the simpleauth user object when it should be returning an object with more data because of the table join.
I know the extended method is getting called because I can echo a message from the extended login function and it's getting displayed on the screen. (by returning false)
what am i doing wrong? please help.
Many thanks.