Skip to content

A free open source IT asset/license management system

Use password reset token

snipe27954dc6d3f8
diff --git a/resources/views/notifications/Welcome.blade.php b/resources/views/notifications/Welcome.blade.php
index e6e72ad2cd..d8848de82c 100644
--- a/resources/views/notifications/Welcome.blade.php
+++ b/resources/views/notifications/Welcome.blade.php
@@ -3,11 +3,10 @@
{{ trans('mail.admin_has_created', ['web' => $snipeSettings->site_name]) }}
-{{ trans('mail.login') }}: {{ $username }} <br>
-{{ trans('mail.password') }}: {{ $password }}
+<strong>{{ trans('mail.login') }}: </strong> {{ $username }}<br>
-@component('mail::button', ['url' => $url])
-Go To {{$snipeSettings->site_name}}
+@component('mail::button', ['url' => url(route('password.reset', ['token' => $token, 'email' => $email]))])
+{{ trans('general.set_password') }}
@endcomponent
{{ trans('mail.best_regards') }} <br>