Closed FranEnLaNube closed 9 months ago
The SonarCloud Quality Gate passed, but some issues were introduced.
1 New issue
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
I added the default URL in the $url
variable in UserController.php
L102. In case it's not set in the .env
file
Perfecte tots els canvis els veig correctament implementats.
Description
This is my contribution to the solution implemented by @brycoti in #103. To resolve #82 I've made the following changes:
.env
file and not be forced to harcode it in the template.Changes
UserController::forgetPassword()
to send $url instead of $token to the template.$url
is set with this approach:$url = env('APP_URL') . '/reset-password/' . $token;
app\Mail\ForgetPasswordMail.php
to receive$url
instead of$token
href="{{$url}}"....
inforgetPassword.blade.php
.