Replies: 2 comments 4 replies
-
Set Config\Email. |
Beta Was this translation helpful? Give feedback.
-
Hi,
There are two solutions for this. The first method: use sessions modify the public function loginRedirect(): string
{
if (session('magicLogin')) {
return redirect()->route('set_password');
}
$url = setting('Auth.redirects')['login'];
return $this->getUrl($url);
}
$users = model('UserModel');
$user = $users->findById(auth()->user_ir);
$user->fill([
'password' => 'New passs'
]);
$users->save($user); The second method: using events |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Can someone explain how to customize Email.fromEmail and Email.fromName which are needed by "register" and "forgot password" functions...
And may this explanation cover all the process of what you have to do to manage things when a user registers or need to recover his password. All of this stuff was not include in the doc... or maybe am i dumb...
Thanks a lot
Eric
Beta Was this translation helpful? Give feedback.
All reactions