Add a special phone number and verification code that can bypass SMS auth (for testing)

This commit is contained in:
Kijin Sung 2020-12-18 14:56:54 +09:00
parent 4c79d1b229
commit f12bfb0ba5
5 changed files with 30 additions and 2 deletions

View file

@ -64,6 +64,14 @@
<p class="x_help-inline">{$lang->multi_line_input}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label" for="redirect_url">{$lang->cmd_special_phone_number}</label>
<div class="x_controls">
<input type="text" name="special_phone_number" value="{$config->special_phone_number}" placeholder="{$lang->phone_number}" />
<input type="text" name="special_phone_code" value="{$config->special_phone_code}" placeholder="{$lang->verify_by_sms_code}" />
<p class="x_help-block">{$lang->about_special_phone_number}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label" for="redirect_url">{$lang->redirect_url}</label>
<div class="x_controls">