summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Model
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Model')
-rw-r--r--lib/Travelynx/Model/Users.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Model/Users.pm b/lib/Travelynx/Model/Users.pm
index 63cc261..4124e7b 100644
--- a/lib/Travelynx/Model/Users.pm
+++ b/lib/Travelynx/Model/Users.pm
@@ -437,7 +437,7 @@ sub add {
{
name => $user_name,
status => 0,
- public_level => 0,
+ public_level => $visibility_atoi{private},
email => $email,
password => $password,
registered_at => $now,