Changes between Version 6 and Version 7 of AccountControl
- Timestamp:
- Oct 14, 2020, 7:53:51 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AccountControl
v6 v7 3 3 BOINC has two mechanisms for creating accounts: 4 4 5 * RPC-based: The [WebRpc#create_account create_account] RPC. 6 This is used by BOINC Manager and by account managers. 5 * RPC-based: The [WebRpc#create_account create_account] RPC. This is used by BOINC Manager and by account managers. 7 6 8 * Web-based: the user fills out a web form (join.php or create_account_form.php). 9 This has the advantages that you can use ReCaptcha (to prevent mass account creation by spammers) 10 and you can customize it however you want. 7 * Web-based: the user fills out a web form (join.php or create_account_form.php). This has the advantages that you can use !ReCaptcha (to prevent mass account creation by spammers) and you can customize it however you want. 11 8 12 9 By default both mechanisms are enabled. … … 19 16 }}} 20 17 21 Note: 1 = True, 0 = False 18 Note: 1 = True, 0 = False. 22 19 23 20 To disable RPC-based account creation, add … … 30 27 You can restrict account creation to those who present an 'invitation code'. 31 28 32 To do so, add to the file `html/project/project.inc` a definition for a PHP constant `INVITE_CODES`29 To do so, add to the file '''html/project/project.inc''' a definition for a PHP constant '''INVITE_CODES''' 33 30 as a [http://php.net/reference.pcre.pattern.syntax Perl-Compatible Regular Expression (PCRE)] 34 31 for the set of invitation codes. … … 39 36 This allows someone to create an account if they enter any of the words 'yohoho', 'blunderbuss', or '!grog4U'. 40 37 41 INVITE_CODESapplies to both web and RPC-based account creation.38 '''INVITE_CODES''' applies to both web and RPC-based account creation. 42 39 To restrict only RPC-based account creation, use 43 40