mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
25 lines
357 B
PHP
25 lines
357 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\User;
|
|
|
|
class EncryptUserPassword extends Event
|
|
{
|
|
public $rawPasswd;
|
|
|
|
public $user;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($raw_passwd, User $user)
|
|
{
|
|
$this->rawPasswd = $raw_passwd;
|
|
$this->user = $user;
|
|
}
|
|
|
|
}
|