{formlabel label="Users can register" for="allowRegister"}
{forminput}
{formhelp note=""}
{/forminput}
{formlabel label="Send registration welcome email" for="send_welcome_email"}
{forminput}
isFeatureActive( 'send_welcome_email' )}checked="checked"{/if}/>
{formhelp note="Upon successful registration, this will send the user an email with login information, including their password."}
{/forminput}
{formlabel label="Create a group for each user" for="eponymousGroups"}
{forminput}
{formhelp note="This will create a group for each user with the same name as the user. This might be useful if you want to assign different permission settings to every user."}
{/forminput}
{formlabel label="Request passcode to register" for="useRegisterPasscode"}
{forminput}
{formhelp note=""}
{/forminput}
{formlabel label="Passcode" for="registerPasscode"}
{forminput}
{formhelp note="Enter the Passcode that is required for users to register with your site."}
{/forminput}
{php}
if (!function_exists("gd_info"))
$this->assign( 'warning','PHP GD library is required for this feature (not found on your system)' );
{/php}
{formfeedback warning=$warning}
{formlabel label="Prevent automatic/robot registration" for="rnd_num_reg"}
{forminput}
{formhelp note="This will generate a random number as an image, the user has to confirm during the registration step."}
{/forminput}
{formlabel label="Validate users by email" for="validateUsers"}
{forminput}
{formhelp note="Send an email to the user, to validate registration."}
{/forminput}
{if !$gBitSystem->hasValidSenderEmail()}
{formfeedback error="Site emailer return address is not valid!"}
{/if}
{formlabel label="Validate email address" for="validateEmail"}
{forminput}
hasValidSenderEmail()}disabled="disabled"{elseif $validateEmail eq 'y'}checked="checked"{/if} />
{formhelp link="kernel/admin/index.php?page=server/General Settings" note="This feature should be used only when you need the maximum security and should be used with discretion. If a visitor's email server is not responding, they will not be able to register. You also must have a valid sender email to use this feature."}
{/forminput}
{formlabel label="Remind passwords by email" for="forgotPass"}
{forminput}
{formhelp note="This will display a 'forgot password' link on the login page and allow users to have their password sent to their registered email address."}
{/forminput}
{formlabel label="Password invalid after days" for="pass_due"}
{forminput}
{formhelp note=""}
{/forminput}
{formlabel label="Store plaintext passwords" for="feature_clear_passwords"}
{forminput}
isFeatureActive( 'feature_clear_passwords' )}checked="checked"{/if}/>
{formhelp note="Passwords will be visible in the database. If a user requests a password, their password will *not* be reset and simply emailed to them in plain text. This option is less secure, but better suited to sites with a wide variety of users."}
{/forminput}
{formlabel label="Password generator" for="user_password_generator"}
{forminput}
isFeatureActive( 'user_password_generator' )}checked="checked"{/if}/>
{formhelp note="Display password generator on registration page that creates secure passwords."}
{/forminput}
{formlabel label="Force to use characters and numbers in passwords" for="pass_chr_num"}
{forminput}
{formhelp note=""}
{/forminput}
{formlabel label="Remember me feature" for="rememberme"}
{forminput}
isFeatureActive('rememberme')}checked="checked"{/if}/>
{formhelp note="Registered users will stay logged even if they close their browser."}
{/forminput}
{formlabel label="Remember me domain" for="cookie_domain"}
{forminput}
{formhelp note="Remember to use a '.' wildcard prefix if you want domain wide cookies."}
{/forminput}
{formlabel label="Remember me path" for="cookie_path"}
{forminput}
{formhelp note="The path '/foo' would match '/foobar' and '/foo/bar.html'"}
{/forminput}