Fixed security breach issue

This commit is contained in:
Pierre
2018-04-20 14:11:14 +02:00
parent 19292b70b0
commit 7a0cbc3214
3 changed files with 11 additions and 5 deletions

View File

@ -96,8 +96,8 @@ class accountController {
//Create new account object
$newAccount = new NewAccount();
$newAccount->firstName = $firstName;
$newAccount->lastName = $lastName;
$newAccount->firstName = removeHTMLnodes($firstName);
$newAccount->lastName = removeHTMLnodes($lastName);
$newAccount->email = $email;
$newAccount->password = $password;