FEATURE: User fields required for existing users - Part 2 (#27172)

We want to allow admins to make new required fields apply to existing users. In order for this to work we need to have a way to make those users fill up the fields on their next page load. This is very similar to how adding a 2FA requirement post-fact works. Users will be redirected to a page where they can fill up the remaining required fields, and until they do that they won't be able to do anything else.
This commit is contained in:
Ted Johansson
2024-06-25 19:32:18 +08:00
committed by GitHub
parent 867b3822f3
commit d63f1826fe
51 changed files with 661 additions and 209 deletions

View File

@@ -1197,7 +1197,10 @@ en:
activity_stream: "Activity"
read: "Read"
read_help: "Recently read topics"
preferences: "Preferences"
preferences:
title: "Preferences"
profile:
enforced_required_fields: "You are required to provide additional information before continuing to use this site."
feature_topic_on_profile:
open_search: "Select a New Topic"
title: "Select a Topic"
@@ -6669,9 +6672,13 @@ en:
title: "Field Requirement"
optional:
title: "Optional"
for_all_users:
title: "For all users"
description: "When new users sign up, they must fill out this field. When existing users return to the site and this is a new required field for them, they will also be prompted to fill it out. To re-prompt all users, delete this custom field and re-create it."
on_signup:
title: "On signup"
description: "When new users sign up, they must fill out this field. Existing users are unaffected."
confirmation: "This will prompt existing users to fill in this field and will not allow them to do anything else on your site until the field is filled. Proceed?"
editable:
title: "Editable after signup"
enabled: "editable"

View File

@@ -2931,7 +2931,7 @@ en:
email_too_long: "The email you provided is too long. Mailbox names must be no more than 254 characters, and domain names must be no more than 253 characters."
wrong_invite_code: "The invite code you entered was incorrect."
reserved_username: "That username is not allowed."
missing_user_field: "You have not completed all the user fields"
missing_user_field: "You have not completed all the required user fields"
auth_complete: "Authentication is complete."
click_to_continue: "Click here to continue."
already_logged_in: "Sorry! This invitation is intended for new users, who do not already have an existing account."