26 lines
		
	
	
		
			495 B
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			495 B
		
	
	
	
		
			PHP
		
	
	
	
| <?php
 | |
| 
 | |
| namespace App;
 | |
| 
 | |
| use App\Auth\ResetPassword;
 | |
| use Illuminate\Database\Eloquent\Factories\HasFactory;
 | |
| use Illuminate\Foundation\Auth\User as Authenticatable;
 | |
| use Illuminate\Notifications\Notifiable;
 | |
| 
 | |
| class User extends Authenticatable
 | |
| {
 | |
|     use HasFactory;
 | |
|     use Notifiable;
 | |
| 
 | |
|     public $guarded = [];
 | |
| 
 | |
|     /**
 | |
|      * @param string $token
 | |
|      * @return void
 | |
|      */
 | |
|     public function sendPasswordResetNotification($token)
 | |
|     {
 | |
|         $this->notify(new ResetPassword($token));
 | |
|     }
 | |
| }
 |