mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Use url helper to generate password reset link
This commit is contained in:
@@ -69,7 +69,7 @@ class ForgotPasswordController extends Controller
|
||||
//
|
||||
// Send the email
|
||||
//
|
||||
$resetLink = $request->server('SERVER_NAME').'/resetpassword?guid='.$guid;
|
||||
$resetLink = url('/').'/resetpassword?guid='.$guid;
|
||||
Mail::to($ret['email'])->send(new ForgottenPassword($resetLink));
|
||||
$sent = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user