Changes between Version 6 and Version 7 of AccountControl


Ignore:
Timestamp:
Oct 14, 2020, 7:53:51 PM (4 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AccountControl

    v6 v7  
    33BOINC has two mechanisms for creating accounts:
    44
    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.
    76
    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.
    118
    129By default both mechanisms are enabled.
     
    1916}}}
    2017
    21 Note: 1 = True, 0 = False
     18Note: 1 = True, 0 = False.
    2219
    2320To disable RPC-based account creation, add
     
    3027You can restrict account creation to those who present an 'invitation code'.
    3128
    32 To do so, add to the file `html/project/project.inc` a definition for a PHP constant `INVITE_CODES`
     29To do so, add to the file '''html/project/project.inc''' a definition for a PHP constant '''INVITE_CODES'''
    3330as a [http://php.net/reference.pcre.pattern.syntax Perl-Compatible Regular Expression (PCRE)]
    3431for the set of invitation codes.
     
    3936This allows someone to create an account if they enter any of the words 'yohoho', 'blunderbuss', or '!grog4U'.
    4037
    41 INVITE_CODES applies to both web and RPC-based account creation.
     38'''INVITE_CODES''' applies to both web and RPC-based account creation.
    4239To restrict only RPC-based account creation, use
    4340