Closed safarovitch closed 3 years ago
I'd be happy to accept your PR that will fix this issue.
Well at this point I am not sure the solution I applied for my project is applicable in every other situation since I inclıded laravel ui auth onto the login controllers of this project. Anyways the solution for me was simply to remove mentioned line of code.
setPasswordAttribute is a function supposed to set password as encrypted hash when register happens via User model. As the function was necesary in previous versions of laravel, in laravel8 it may couse serious problems as malfunctioning of Password Reset Functions of laravel auth.
https://github.com/ozdemirburak/laravel-8-simple-cms/blob/794b52b671f4f916481a2385c7402138a2a1689f/app/Models/User.php#L43