mirror of
https://github.com/easychen/pushdeer.git
synced 2025-01-08 22:15:57 +08:00
make fake login debug only
This commit is contained in:
parent
539a41da62
commit
aa1fd8ea01
@ -15,6 +15,10 @@ class PushDeerUserController extends Controller
|
||||
|
||||
public function fakeLogin(Request $request)
|
||||
{
|
||||
if (!env('APP_DEBUG')) {
|
||||
return send_error('Debug only', ErrorCode('ARGS'));
|
||||
}
|
||||
|
||||
$info = [
|
||||
'uid' => 'theid999',
|
||||
'email' => 'easychen+new@gmail.com',
|
||||
|
Loading…
Reference in New Issue
Block a user