mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-04 13:25:47 -05:00
bugfix: user creation now properly appears in action log (#5644)
### Description User creation was not properly logged within the action log, neither from sub-user invite or manual user creation. This PR adds the relevant log and includes testing. ### Manual testing scenarios 1. Invite a user within any created server 2. Create a user in the admin 3. Verify both users appear as an action in the action log ### Questions or comments AI was used for secondary testing, QA and code review. No code was written by AI. ### Resolved issues: 1. [x] resolves pterodactyl/panel#5631
This commit is contained in:
@@ -231,6 +231,8 @@ class UserControllerTest extends ApplicationApiIntegrationTestCase
|
||||
'resource' => route('api.application.users.view', $user->id),
|
||||
],
|
||||
], true);
|
||||
|
||||
$this->assertActivityFor('user:user.create', $this->getApiUser(), $user);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user