mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-23 01:22:30 +01:00
e3df0738da
Previously, a single key was used to access the API, this has not changed in terms of what the user sees. However, API keys now use an identifier and token internally. The identifier is the first 16 characters of the key, and the token is the remaining 32. The token is stored encrypted at rest in the database and the identifier is used by the API middleware to grab that record and make a timing attack safe comparison.
88 lines
2.3 KiB
PHP
88 lines
2.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
'email' => 'Email',
|
|
'user_identifier' => 'Username or Email',
|
|
'password' => 'Password',
|
|
'confirm_password' => 'Confirm Password',
|
|
'login' => 'Login',
|
|
'home' => 'Home',
|
|
'servers' => 'Servers',
|
|
'id' => 'ID',
|
|
'name' => 'Name',
|
|
'node' => 'Node',
|
|
'connection' => 'Connection',
|
|
'memory' => 'Memory',
|
|
'cpu' => 'CPU',
|
|
'status' => 'Status',
|
|
'search' => 'Search',
|
|
'suspended' => 'Suspended',
|
|
'account' => 'Account',
|
|
'security' => 'Security',
|
|
'ip' => 'IP Address',
|
|
'last_activity' => 'Last Activity',
|
|
'revoke' => 'Revoke',
|
|
'2fa_token' => 'Authentication Token',
|
|
'submit' => 'Submit',
|
|
'close' => 'Close',
|
|
'settings' => 'Settings',
|
|
'configuration' => 'Configuration',
|
|
'sftp' => 'SFTP',
|
|
'databases' => 'Databases',
|
|
'memo' => 'Memo',
|
|
'created' => 'Created',
|
|
'expires' => 'Expires',
|
|
'public_key' => 'Token',
|
|
'api_access' => 'Api Access',
|
|
'never' => 'never',
|
|
'sign_out' => 'Sign out',
|
|
'admin_control' => 'Admin Control',
|
|
'required' => 'Required',
|
|
'port' => 'Port',
|
|
'username' => 'Username',
|
|
'database' => 'Database',
|
|
'new' => 'New',
|
|
'danger' => 'Danger',
|
|
'create' => 'Create',
|
|
'select_all' => 'Select All',
|
|
'select_none' => 'Select None',
|
|
'alias' => 'Alias',
|
|
'primary' => 'Primary',
|
|
'make_primary' => 'Make Primary',
|
|
'none' => 'None',
|
|
'cancel' => 'Cancel',
|
|
'created_at' => 'Created At',
|
|
'action' => 'Action',
|
|
'data' => 'Data',
|
|
'queued' => 'Queued',
|
|
'last_run' => 'Last Run',
|
|
'next_run' => 'Next Run',
|
|
'not_run_yet' => 'Not Run Yet',
|
|
'yes' => 'Yes',
|
|
'no' => 'No',
|
|
'delete' => 'Delete',
|
|
'2fa' => '2FA',
|
|
'logout' => 'Logout',
|
|
'admin_cp' => 'Admin Control Panel',
|
|
'optional' => 'Optional',
|
|
'read_only' => 'Read Only',
|
|
'relation' => 'Relation',
|
|
'owner' => 'Owner',
|
|
'admin' => 'Admin',
|
|
'subuser' => 'Subuser',
|
|
'captcha_invalid' => 'The provided captcha is invalid.',
|
|
'tasks' => 'Tasks',
|
|
'seconds' => 'Seconds',
|
|
'minutes' => 'Minutes',
|
|
'days' => [
|
|
'sun' => 'Sunday',
|
|
'mon' => 'Monday',
|
|
'tues' => 'Tuesday',
|
|
'wed' => 'Wednesday',
|
|
'thurs' => 'Thursday',
|
|
'fri' => 'Friday',
|
|
'sat' => 'Saturday',
|
|
],
|
|
'last_used' => 'Last Used',
|
|
];
|