diff --git a/html/process/settings/user.php b/html/process/settings/user.php index fb80de4..d43447c 100644 --- a/html/process/settings/user.php +++ b/html/process/settings/user.php @@ -19,7 +19,7 @@ $passwordConfirmed = $user->confirmPassword($_POST['currentPassword']); } if (isset($_POST['pronouns'])) { - $user->updatePronoun($_POST['pronouns']); + $user->updatePronoun(substr($_POST['pronouns'], 0, 20)); } if (isset($_POST['dashTheme'])) { $user->setTheme($_POST['dashTheme']); diff --git a/html/process/user/register.php b/html/process/user/register.php index 0a7ac84..f1849ee 100644 --- a/html/process/user/register.php +++ b/html/process/user/register.php @@ -7,7 +7,7 @@ // Force this to be a JSON return for a laugh if (isset($_POST['g-recaptcha-response'])) { $captcha = $_POST['g-recaptcha-response']; - $secretKey = $ENV['CAPTCHA_SECRETKEY']; + $secretKey = $_ENV['CAPTCHA_SECRETKEY']; $captchaIP = $_SERVER['REMOTE_ADDR']; $url = 'https://www.google.com/recaptcha/api/siteverify?secret=' . urlencode($secretKey) . '&response=' . urlencode($captcha); $response = file_get_contents($url); diff --git a/html/register.php b/html/register.php index dbb6d37..4510b5b 100644 --- a/html/register.php +++ b/html/register.php @@ -129,7 +129,7 @@ function(response) {
If you like, you can select pronouns to display next to your blog name on the dashboard. Set them here, then turn them on in blog settings for each blog you want them on.
+This field is for pronouns only. For example, she/her, they/them, etc.
- +