Accessing password on the interface Illuminate\Contracts\Auth\Authenticatable suggest that you code against a concrete implementation. How about adding an instanceof check?
Accessing password on the interface Illuminate\Contracts\Auth\Authenticatable suggest that you code against a concrete implementation. How about adding an instanceof check?
Loading history...
31
$user->setRememberToken(Str::random(60));
32
$user->save();
33
34
return redirect()->route('chief.back.dashboard')->with('messages.success', 'Jouw wachtwoord is aangepast.');