diff --git a/register.php b/register.php index 65cfbac..5657f45 100644 --- a/register.php +++ b/register.php @@ -128,6 +128,9 @@
+ +
+
@@ -158,6 +161,7 @@ if (isset($_POST['fedi'])) $use_fedi = true; if (isset($_POST['git'])) $use_git = true; if (isset($_POST['nextcloud'])) $use_nc = true; + if (isset($_POST['peertube'])) $use_peertube = true; if (isset($_POST['jitsi'])) $use_jitsi = true; if (isset($_POST['xmpp'])) $use_xmpp = true; if (isset($_POST['xmppo'])) $use_xmppo = true; @@ -169,6 +173,7 @@ if ($use_fedi) $message .= ", Mastodon"; if ($use_git) $message .= ", Gitea"; if ($use_nc) $message .= ", Nextcloud"; + if ($use_peertube) $message .= ", PeerTube"; if ($use_jitsi) $message .= ", Jitsi"; if ($use_xmpp) $message .= ", XMPP"; if ($use_xmppo) $message .= ", XMPP Onion"; @@ -188,6 +193,7 @@ } if ($use_git) $contents .= '~/bin/mkguser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . ' ' . escapeshellarg($email) . "\n"; if ($use_nc) $contents .= '~/bin/mknuser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . "\n"; + if ($use_peertube) $contents .= '~/bin/mkpuser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . ' ' . escapeshellarg($email) . "\n"; if ($use_jitsi) $contents .= '~/bin/mkxuser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . " jitsi.vern.cc\n"; if ($use_xmpp) $contents .= '~/bin/mkxuser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . " vern.cc\n"; if ($use_xmppo) $contents .= '~/bin/mkxuser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . " vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion\n";