Fixing XSS vulnerability by using the proper output tags
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
@component('mail::message')
|
||||
A new user has signed up!
|
||||
|
||||
Name: {!! $user->name !!}!
|
||||
Email: {!! $user->email !!}
|
||||
State: {!! UserState::label($user->state) !!}
|
||||
Name: {{ $user->name }}!
|
||||
Email: {{ $user->email }}
|
||||
State: {{ UserState::label($user->state) }}
|
||||
|
||||
{{ config('app.name') }}
|
||||
@endcomponent
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
Your new login details for {{ config('app.name') }} follow:
|
||||
|
||||
Do not share this information with anyone else! <br />
|
||||
<strong>E-Mail Address:</strong> {!! $user->email !!}<br />
|
||||
<strong>Temporary Password:</strong> {!! $newpw !!}<br /><br />
|
||||
<strong>E-Mail Address:</strong> {{ $user->email }}<br />
|
||||
<strong>Temporary Password:</strong> {{ $newpw }}<br /><br />
|
||||
|
||||
Your account is now ready for use.<br />
|
||||
Upon first login, please reset your password.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@component('mail::message')
|
||||
# Thanks for signing up, {!! $user->name !!}!
|
||||
# Thanks for signing up, {{ $user->name }}!
|
||||
|
||||
You will be notified as soon as your account is approved!
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@component('mail::message')
|
||||
# Thanks for signing up, {!! $user->name !!}!
|
||||
# Thanks for signing up, {{ $user->name }}!
|
||||
|
||||
Your account is ready to use.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@component('mail::message')
|
||||
# Hi {!! $user->name !!},
|
||||
# Hi {{ $user->name }},
|
||||
|
||||
Your registration to our airline was denied. Please contact
|
||||
an administrator with any questions you may have.
|
||||
|
||||
Reference in New Issue
Block a user