diff --git a/en/onion-services.html b/en/onion-services.html
index 87f307e..88b5a1f 100644
--- a/en/onion-services.html
+++ b/en/onion-services.html
@@ -54,6 +54,7 @@
Devzat (Seperate Sign-Up) - Chat over ssh!
Element - Secure collaboration and messaging
FreshRSS (On Request) - A free, self-hostable aggregator
+ FullTextRSS - Create full-text feed from feed or webpage URL
Hydrogen - Lightweight Matrix client with legacy and mobile browser support
LittleLink Custom (Seperate Sign-Up) - Self-hosted free Linktree alternative
Mastodon (Reg needed) - ActivityPub federated microblogging plaftorm
diff --git a/en/register.php b/en/register.php
index a754609..021f081 100644
--- a/en/register.php
+++ b/en/register.php
@@ -26,11 +26,21 @@
$str = str_replace("\r", '', $str);
return $str;
}
-
+ function getName() {
+ $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
+ $randomString = '';
+
+ for ($i = 0; $i < 50; $i++) {
+ $index = rand(0, strlen($characters) - 1);
+ $randomString .= $characters[$index];
+ }
+ return $randomString;
+ }
+ $password = getName();
$success = false;
- $username = $passowrd0 = $password1 = $email = $ssh = $reason =
- $username_err = $password0_err = $password1_err = $email_err = $ssh_err = $reason_err = '';
+ $username = $email = $ssh = $reason =
+ $username_err = $email_err = $ssh_err = $reason_err = '';
$username_re = '/^[a-z_][a-z0-9_]{0,30}$/';
@@ -50,17 +60,6 @@
$username_err = "Username is required";
}
- if (!empty($_POST['password0'] || !empty($_POST['password1']))) {
- if ($_POST['password1'] === $_POST['password0']) {
- $password0 = $_POST['password0'];
- $password1 = $_POST['password1'];
- } else {
- $password0_err = $password1_err = "Passwords do not match";
- }
- } else {
- $password0_err = $password1_err = "Password is required";
- }
-
if (!empty($_POST['email'])) {
if (filter_var(sanitize($_POST['email']), FILTER_VALIDATE_EMAIL)) {
$email = sanitize($_POST['email']);
@@ -89,7 +88,7 @@
$reason_err = "Join reason is required";
}
- if (empty($username_err . $password0_err . $password1_err . $email_err . $ssh_err . $reason_err))
+ if (empty($username_err . $email_err . $ssh_err . $reason_err))
$success = true;
}
@@ -97,21 +96,13 @@
?>
See the wiki page on how to register.
- WARNING: Your password must contain at least one lowercase letter, one uppercase letter, and one number. This is a restriction of our mail server and PeerTube.
+
* Required field