mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Use url helper to generate password reset link
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-10-09 DariusIII
|
||||
* Chg: Use url helper to generate password reset link
|
||||
* Chg: Update some of the regexes and cleanup the code in ProcessAdditional class
|
||||
* Chg: Update laravel/framework to version 5.7.9
|
||||
* Chg: Update TraktAPI class, remove error messages
|
||||
|
||||
@@ -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