diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-03-01 22:02:48 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-03-01 22:02:48 +0100 |
commit | 09a4f1ce0b08a7c5f69728fa4911184d4a9b6be2 (patch) | |
tree | 15d20146276223fdb5698af2840406f32ab36227 /lib/Travelynx/Model | |
parent | 5d021c4ec99525cc4ea8219e2dc8d4e6b00b2de0 (diff) |
User->add: set default privacy level to 'private'
Diffstat (limited to 'lib/Travelynx/Model')
-rw-r--r-- | lib/Travelynx/Model/Users.pm | 2 |
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, |