File: D:/HostingSpaces/SBogers10/shop.komma.nl/app/Attributes/SendPasswordmail.php
<?php declare(strict_types=1);
namespace App\Attributes;
use Komma\KMS\Core\Attributes\PasswordMailTypes;
use \Komma\KMS\Core\Attributes\SendPasswordMail as KmsSendPasswordMail;
class SendPasswordmail extends KmsSendPasswordMail
{
/**
* Get the url the user will get in his email to reset his password
*/
public function passwordUrl() {
switch ($this->type) {
case PasswordMailTypes::WELCOME:
return route('kms_users.send_set_password_email');
case PasswordMailTypes::RESET:
default:
return route('kms_users.send_reset_password_email');
}
}
}