Feature: Invitation registration

增加凭邀请码注册功能,注册页面
This commit is contained in:
Akkariin Meiko 2020-01-21 11:20:31 +08:00 committed by GitHub
parent 6c881ff5c0
commit e14938b79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,12 @@ if(!$_config['register']['enable']) {
<p><input type="number" class="form-control" name="verifycode" id="verifycode" require /></p>
<?php
}
if($_config['register']['invite']) {
?>
<p><b>邀请码</b></p>
<p><input type="text" class="form-control" name="invitecode" id="invitecode" require /></p>
<?php
}
?>
<p><b>密码</b></p>
<p><input type="password" class="form-control" name="password" id="password" require /></p>