diff --git a/app/Notifications/WelcomeNotification.php b/app/Notifications/WelcomeNotification.php index 3d2657b944..639f622188 100644 --- a/app/Notifications/WelcomeNotification.php +++ b/app/Notifications/WelcomeNotification.php @@ -19,11 +19,11 @@ class WelcomeNotification extends Notification */ public function __construct(array $content) { - $this->_data['email'] = $content['email']; - $this->_data['first_name'] = $content['first_name']; - $this->_data['last_name'] = $content['last_name']; - $this->_data['username'] = $content['username']; - $this->_data['password'] = $content['password']; + $this->_data['email'] = htmlspecialchars_decode($content['email']); + $this->_data['first_name'] = htmlspecialchars_decode($content['first_name']); + $this->_data['last_name'] = htmlspecialchars_decode($content['last_name']); + $this->_data['username'] = htmlspecialchars_decode($content['username']); + $this->_data['password'] = htmlspecialchars_decode($content['password']); $this->_data['url'] = url('/'); }