aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index e5fb7320a..254a9e7a6 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1208,10 +1208,10 @@
// Load the configuration
global $CONFIG;
- $username = sanitise_string($username);
- $password = sanitise_string($password);
- $name = sanitise_string($name);
- $email = sanitise_string($email);
+ $username = trim($username);
+ $password = trim($password);
+ $name = trim($name);
+ $email = trim($email);
// A little sanity checking
if (empty($username)