mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
102297e664
commit
4541afe93e
2 files changed
+2
-2
No files matched your search
@@ -42,7 +42,7 @@ class UserController extends Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$token = $user->createToken( 'password-reset', [ 'password-reset' ] )->plainTextToken;
|
$token = $user->createToken( 'password-reset', [ 'password-reset' ] )->plainTextToken;
|
||||||
$url = env( 'APP_URL_FE' ) . '/\#/auth/reset-password?token=' . $token . '&email=' . $user->email;
|
$url = env( 'APP_URL_FE' ) . '/#/auth/reset-password?token=' . $token . '&email=' . $user->email;
|
||||||
|
|
||||||
Mail::to( $user->email )->send( new PasswordReset( $url ) );
|
Mail::to( $user->email )->send( new PasswordReset( $url ) );
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Click <a href="{{ $url }}">here</a> for resetting your password.
|
Click <a href="{{ url($url) }}">here</a> for resetting your password.
|
||||||
Reference in new issue
Block a user