Files
firefly-iii/app/Events/Security/User/UserRequestedNewPassword.php

43 lines
1.2 KiB
PHP
Raw Permalink Normal View History

<?php
2026-01-23 15:09:36 +01:00
declare(strict_types=1);
2026-01-23 15:06:35 +01:00
/*
* UserRequestedNewPassword.php
* Copyright (c) 2026 james@firefly-iii.org
*
* This file is part of Firefly III (https://github.com/firefly-iii).
2017-10-21 08:40:00 +02:00
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
2017-10-21 08:40:00 +02:00
*
* This program is distributed in the hope that it will be useful,
2017-10-21 08:40:00 +02:00
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
2017-10-21 08:40:00 +02:00
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
2026-01-23 15:06:35 +01:00
namespace FireflyIII\Events\Security\User;
2026-01-23 15:06:35 +01:00
use FireflyIII\Events\Event;
use FireflyIII\User;
use Illuminate\Queue\SerializesModels;
2026-01-23 15:06:35 +01:00
use SensitiveParameter;
2026-01-23 15:06:35 +01:00
class UserRequestedNewPassword extends Event
{
use SerializesModels;
2026-01-23 15:09:50 +01:00
public function __construct(
public User $user,
#[SensitiveParameter]
public string $token,
public string $ipAddress
) {}
2017-11-08 09:05:10 +01:00
}