summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-03-01 22:02:48 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-03-01 22:02:48 +0100
commit09a4f1ce0b08a7c5f69728fa4911184d4a9b6be2 (patch)
tree15d20146276223fdb5698af2840406f32ab36227
parent5d021c4ec99525cc4ea8219e2dc8d4e6b00b2de0 (diff)
User->add: set default privacy level to 'private'
-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,