mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
Merge pull request #12363 from corydlamb/Ampersand-Patch
Fixed #12362: Bug With Passwords Including Ampersands?
This commit is contained in:
commit
7e22663326
|
@ -19,11 +19,11 @@ class WelcomeNotification extends Notification
|
||||||
*/
|
*/
|
||||||
public function __construct(array $content)
|
public function __construct(array $content)
|
||||||
{
|
{
|
||||||
$this->_data['email'] = $content['email'];
|
$this->_data['email'] = htmlspecialchars_decode($content['email']);
|
||||||
$this->_data['first_name'] = $content['first_name'];
|
$this->_data['first_name'] = htmlspecialchars_decode($content['first_name']);
|
||||||
$this->_data['last_name'] = $content['last_name'];
|
$this->_data['last_name'] = htmlspecialchars_decode($content['last_name']);
|
||||||
$this->_data['username'] = $content['username'];
|
$this->_data['username'] = htmlspecialchars_decode($content['username']);
|
||||||
$this->_data['password'] = $content['password'];
|
$this->_data['password'] = htmlspecialchars_decode($content['password']);
|
||||||
$this->_data['url'] = url('/');
|
$this->_data['url'] = url('/');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue