mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-03 02:58:42 +00:00
Fix #167
This commit is contained in:
@@ -203,7 +203,7 @@ class AuthController extends Controller
|
||||
}
|
||||
$data = $request->validated();
|
||||
$register_token = $request->input('register_token');
|
||||
$invite_code = $request->input('invite_code');
|
||||
$invite_code = $request->input('code');
|
||||
$verify_code = $request->input('verify_code');
|
||||
$aff = $request->input('aff');
|
||||
|
||||
|
||||
36
composer.lock
generated
36
composer.lock
generated
@@ -8754,16 +8754,16 @@
|
||||
},
|
||||
{
|
||||
"name": "filp/whoops",
|
||||
"version": "2.9.2",
|
||||
"version": "2.11.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filp/whoops.git",
|
||||
"reference": "df7933820090489623ce0be5e85c7e693638e536"
|
||||
"reference": "f6e14679f948d8a5cfb866fa7065a30c66bd64d3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filp/whoops/zipball/df7933820090489623ce0be5e85c7e693638e536",
|
||||
"reference": "df7933820090489623ce0be5e85c7e693638e536",
|
||||
"url": "https://api.github.com/repos/filp/whoops/zipball/f6e14679f948d8a5cfb866fa7065a30c66bd64d3",
|
||||
"reference": "f6e14679f948d8a5cfb866fa7065a30c66bd64d3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -8813,7 +8813,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/filp/whoops/issues",
|
||||
"source": "https://github.com/filp/whoops/tree/2.9.2"
|
||||
"source": "https://github.com/filp/whoops/tree/2.11.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -8821,7 +8821,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2021-01-24T12:00:00+00:00"
|
||||
"time": "2021-03-19T12:00:00+00:00"
|
||||
},
|
||||
{
|
||||
"name": "hamcrest/hamcrest-php",
|
||||
@@ -9910,16 +9910,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpspec/prophecy",
|
||||
"version": "1.12.2",
|
||||
"version": "1.13.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpspec/prophecy.git",
|
||||
"reference": "245710e971a030f42e08f4912863805570f23d39"
|
||||
"reference": "be1996ed8adc35c3fd795488a653f4b518be70ea"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/245710e971a030f42e08f4912863805570f23d39",
|
||||
"reference": "245710e971a030f42e08f4912863805570f23d39",
|
||||
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea",
|
||||
"reference": "be1996ed8adc35c3fd795488a653f4b518be70ea",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -9971,9 +9971,9 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/phpspec/prophecy/issues",
|
||||
"source": "https://github.com/phpspec/prophecy/tree/1.12.2"
|
||||
"source": "https://github.com/phpspec/prophecy/tree/1.13.0"
|
||||
},
|
||||
"time": "2020-12-19T10:15:11+00:00"
|
||||
"time": "2021-03-17T13:42:18+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-code-coverage",
|
||||
@@ -10295,16 +10295,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpunit/phpunit",
|
||||
"version": "9.5.2",
|
||||
"version": "9.5.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||
"reference": "f661659747f2f87f9e72095bb207bceb0f151cb4"
|
||||
"reference": "27241ac75fc37ecf862b6e002bf713b6566cbe41"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f661659747f2f87f9e72095bb207bceb0f151cb4",
|
||||
"reference": "f661659747f2f87f9e72095bb207bceb0f151cb4",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/27241ac75fc37ecf862b6e002bf713b6566cbe41",
|
||||
"reference": "27241ac75fc37ecf862b6e002bf713b6566cbe41",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -10382,7 +10382,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.2"
|
||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.3"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -10394,7 +10394,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2021-02-02T14:45:58+00:00"
|
||||
"time": "2021-03-17T07:30:34+00:00"
|
||||
},
|
||||
{
|
||||
"name": "react/promise",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'chunk' => 200, // 大数据量修改,分段处理,减少内存使用
|
||||
'chunk' => 1000, // 大数据量修改,分段处理,减少内存使用
|
||||
'clean' => [
|
||||
'node_daily_logs' => '-2 month', // 清除节点每天流量数据日志
|
||||
'node_hourly_logs' => '-3 days', // 清除节点每小时流量数据日志
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<td> {{$invite->id}} </td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" class="mt-clipboard" data-clipboard-action="copy"
|
||||
data-clipboard-text="{{route('register',['invite_code' => $invite->code])}}">{{$invite->code}}</a>
|
||||
data-clipboard-text="{{route('register',['code' => $invite->code])}}">{{$invite->code}}</a>
|
||||
</td>
|
||||
<td> {{$invite->dateline}} </td>
|
||||
<td>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<tbody>
|
||||
@foreach($inviteList as $invite)
|
||||
<tr>
|
||||
<td><a href="{{route('register', ['invite_code' => $invite->code])}}" target="_blank">{{$invite->code}}</a></td>
|
||||
<td><a href="{{route('register', ['code' => $invite->code])}}" target="_blank">{{$invite->code}}</a></td>
|
||||
<td> {{$invite->dateline}} </td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<td> {{$loop->iteration}} </td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" class="mt-clipboard" data-clipboard-action="copy"
|
||||
data-clipboard-text="{{route('register', ['invite_code' => $invite->code])}}">{{$invite->code}}</a>
|
||||
data-clipboard-text="{{route('register', ['code' => $invite->code])}}">{{$invite->code}}</a>
|
||||
</td>
|
||||
<td> {{$invite->dateline}} </td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user