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
|
||||
|
||||
Reference in New Issue
Block a user