Basic user management
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domains\UserManagement\Actions\UserChangePassword;
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
class UserChangePasswordRequest {
|
||||
public User $user;
|
||||
public string $newPassword;
|
||||
|
||||
public function __construct(User $user, string $newPassword) {
|
||||
$this->user = $user;
|
||||
$this->newPassword = $newPassword;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user