pre register email+username

This commit is contained in:
xiaomlove
2023-08-24 02:28:58 +08:00
parent a64fee6422
commit 5604da88b5
14 changed files with 108 additions and 13 deletions

View File

@@ -20,4 +20,7 @@ return [
'invite_not_enough' => 'Invites not enough',
],
'send_allow_text' => 'Invite someone',
'pre_register_username' => 'Pre-register username',
'pre_register_username_help' => 'Username and email will not be changed when user registers with this invitation code',
'require_pre_register_username' => "Pre-register username can't be empty",
];

View File

@@ -102,6 +102,8 @@ return [
'cookie_valid_days' => 'Cookie Valid days',
'maximum_upload_speed' => 'Maximum upload speed',
'maximum_upload_speed_help' => 'A single torrent upload speed exceeding this value is instantly disabled for the account, in Mbps. For example: 100 Mbps = 12.5 MB/s',
'is_invite_pre_email_and_username' => 'Invite whether to pre-book an email and username',
'is_invite_pre_email_and_username_help' => "Default: 'No'. If pre-booked, email and username may not be changed when the user registers.",
],
],
'user' => [