BOT対策
This commit is contained in:
@@ -16,19 +16,27 @@
|
||||
<form action="/login" method="POST">
|
||||
{$ $username = randstr() $}
|
||||
{$ $password = randstr() $}
|
||||
{$ $botUsername = randstr() $}
|
||||
{$ $botPassword = randstr() $}
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><label for="{{ $username }}">ユーザー名:</label></td>
|
||||
<td><input type="text" id="{{ $username }}" name="{{ $username }}" /></td>
|
||||
<td><input type="text" id="{{ $username }}" name="{{ $username }}" value="{{ $nyuU }}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="{{ $password }}">パスワード:</label></td>
|
||||
<td><input type="password" id="{{ $password }}" name="{{ $password }}" /></td>
|
||||
<td><input type="password" id="{{ $password }}" name="{{ $password }}" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<div style="position:absolute; left:-9999px;">
|
||||
<input type="text" id="{{ $username }}" name="{{ $botUsername }} value="" />
|
||||
<input type="password" id="{{ $password }}" name="{{ $botPassword }}" value="" />
|
||||
</div>
|
||||
|
||||
<a href="/?bot=1" style="display:none"></a>
|
||||
<input type="hidden" id="csrf_token" name="csrf_token" value="{{ make_csrf_token() }}" />
|
||||
<button>サインイン</button>
|
||||
</td>
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
{$ $password = randstr() $}
|
||||
{$ $passwordVerify = randstr() $}
|
||||
{$ $email = randstr() $}
|
||||
{$ $botUsername = randstr() $}
|
||||
{$ $botPassword = randstr() $}
|
||||
{$ $botPasswordVerify = randstr() $}
|
||||
{$ $botEmail = randstr() $}
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -39,6 +43,14 @@
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<div style="position:absolute; left:-9999px;">
|
||||
<input type="text" id="{{ $botUsername }}" name="{{ $botUsername }} value="" />
|
||||
<input type="password" id="{{ $botPassword }}" name="{{ $botPassword }}" value="" />
|
||||
<input type="password" id="{{ $botPasswordVerify }}" name="{{ $botPasswordVerify }}" />
|
||||
<input type="email" id="{{ $botEmail }}" name="{{ $botEmail }}" value="" />
|
||||
</div>
|
||||
|
||||
<a href="/?bot=1" style="display:none"></a>
|
||||
<input type="hidden" id="csrf_token" name="csrf_token" value="{{ make_csrf_token() }}" />
|
||||
<button>登録</button>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user