mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 17:12:30 +01:00
closes #339
This commit is contained in:
parent
1aa191210a
commit
b8c3ab6960
@ -20,6 +20,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
|||||||
* `[pre.4]` — Fixes bug preventing server updates from occurring by the system due to undefined `Auth::user()` in the event listener.
|
* `[pre.4]` — Fixes bug preventing server updates from occurring by the system due to undefined `Auth::user()` in the event listener.
|
||||||
* `[pre.4]` — Fixes `Server::byUuid()` caching to actually clear the cache for *all* users, rather than the logged in user by using cache tags.
|
* `[pre.4]` — Fixes `Server::byUuid()` caching to actually clear the cache for *all* users, rather than the logged in user by using cache tags.
|
||||||
* `[pre.4]` — Fixes server listing on frontend not displaying a page selector when more than 10 servers exist.
|
* `[pre.4]` — Fixes server listing on frontend not displaying a page selector when more than 10 servers exist.
|
||||||
|
* `[pre.4]` — Fixes non-admin users being unable to create personal API keys.
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
* Ability to assign multiple allocations at once when creating a new server.
|
* Ability to assign multiple allocations at once when creating a new server.
|
||||||
|
@ -52,7 +52,7 @@ class APIController extends Controller
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$repo = new APIRepository($request->user());
|
$repo = new APIRepository($request->user());
|
||||||
$secret = $repo->create($request->only([
|
$secret = $repo->create($request->intersect([
|
||||||
'memo', 'allowed_ips',
|
'memo', 'allowed_ips',
|
||||||
'adminPermissions', 'permissions',
|
'adminPermissions', 'permissions',
|
||||||
]));
|
]));
|
||||||
|
Loading…
Reference in New Issue
Block a user