Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
generateVerificationUrl();// Implement your method to get the verification URL
$this->notify(new CustomVerifyEmail($url));
}
public function generateVerificationUrl()
{
return URL::temporarySignedRoute(
'verification.verify',
now()->addMinutes(config('auth.verification.expire', 60)), // Expiry time
[
'id' => $this->getKey(), // User's ID
'hash' => sha1($this->getEmailForVerification()), // Hashed email
]
);
}
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'email',
'password',
'status',
];
/**
* The attributes that should be hidden for serialization.
*
* @var array
*/
protected $hidden = [
'password',
'remember_token',
];
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'email_verified_at' => 'datetime',
'password' => 'hashed',
];
}