File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
app/Http/Controllers/Base Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
2020* ` [pre.4] ` — Fixes bug preventing server updates from occurring by the system due to undefined ` Auth::user() ` in the event listener.
2121* ` [pre.4] ` — Fixes ` Server::byUuid() ` caching to actually clear the cache for * all* users, rather than the logged in user by using cache tags.
2222* ` [pre.4] ` — Fixes server listing on frontend not displaying a page selector when more than 10 servers exist.
23+ * ` [pre.4] ` — Fixes non-admin users being unable to create personal API keys.
2324
2425### Added
2526* Ability to assign multiple allocations at once when creating a new server.
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function save(Request $request)
5252 {
5353 try {
5454 $ repo = new APIRepository ($ request ->user ());
55- $ secret = $ repo ->create ($ request ->only ([
55+ $ secret = $ repo ->create ($ request ->intersect ([
5656 'memo ' , 'allowed_ips ' ,
5757 'adminPermissions ' , 'permissions ' ,
5858 ]));
You can’t perform that action at this time.
0 commit comments