HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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');
        }
    }
}