forked from Alex/Pterodactyl-Panel
Apply fixes from StyleCI
This commit is contained in:
parent
31b4589eab
commit
e2eff27a56
@ -80,7 +80,7 @@ class SecurityController extends Controller
|
||||
{
|
||||
if (! $request->has('token')) {
|
||||
return response()->json([
|
||||
'error' => 'Request is missing token parameter.'
|
||||
'error' => 'Request is missing token parameter.',
|
||||
], 500);
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,6 @@ class ServerController extends Controller
|
||||
->join('database_servers', 'database_servers.id', '=', 'databases.db_server')
|
||||
->get(),
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
public function getSFTP(Request $request, $uuid)
|
||||
|
@ -13,5 +13,5 @@ return [
|
||||
'failed' => 'These credentials do not match our records.',
|
||||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
||||
'password_requirements' => 'Passwords must contain at least one uppercase, lowecase, and numeric character and must be at least 8 characters in length.',
|
||||
'request_reset' => 'Locate Account'
|
||||
'request_reset' => 'Locate Account',
|
||||
];
|
||||
|
@ -12,7 +12,7 @@ return [
|
||||
'header' => 'API Access',
|
||||
'header_sub' => 'Manage your API access keys.',
|
||||
'list' => 'API Keys',
|
||||
'create_new' => 'Create new API key'
|
||||
'create_new' => 'Create new API key',
|
||||
],
|
||||
],
|
||||
'account' => [
|
||||
|
@ -7,7 +7,7 @@ return [
|
||||
'my_account' => 'My Account',
|
||||
'security_controls' => 'Security Controls',
|
||||
'api_access' => 'API Access',
|
||||
'my_servers' => 'My Servers'
|
||||
'my_servers' => 'My Servers',
|
||||
],
|
||||
'server' => [
|
||||
'header' => 'SERVER MANAGEMENT',
|
||||
@ -22,6 +22,6 @@ return [
|
||||
'port_allocations' => 'Port Allocations',
|
||||
'sftp_settings' => 'SFTP Settings',
|
||||
'startup_parameters' => 'Startup Parameters',
|
||||
'databases' => 'Databases'
|
||||
'databases' => 'Databases',
|
||||
],
|
||||
];
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -5,5 +5,5 @@ return [
|
||||
'title' => 'Viewing Server :name',
|
||||
'header' => 'Server Console',
|
||||
'header_sub' => 'Control your server in real time.',
|
||||
]
|
||||
],
|
||||
];
|
||||
|
@ -35,5 +35,5 @@ return [
|
||||
'api_access' => 'Api Access',
|
||||
'never' => 'never',
|
||||
'sign_out' => 'Sign out',
|
||||
'admin_control' => 'Admin Control'
|
||||
'admin_control' => 'Admin Control',
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user