summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Model/Users.pm
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-03-03 15:05:00 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2023-03-03 15:05:28 +0100
commitb725d7d52cd631f1623012f167599dc08a8639c7 (patch)
tree82d84305a73a43bc8502f165e463f9e355a5d101 /lib/Travelynx/Model/Users.pm
parentad544949ad99095aeee707336cab981f5309122c (diff)
set default visibility to unlisted
Diffstat (limited to 'lib/Travelynx/Model/Users.pm')
-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 4124e7b..397b618 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 => $visibility_atoi{private},
+ public_level => $visibility_atoi{unlisted},
email => $email,
password => $password,
registered_at => $now,