<?php

declare(strict_types=1);

namespace App\Modules\Identity\Controllers;

class ForgotPasswordController
{
    public function show(): array
    {
        return [
            'view' => 'auth.forgot-password',
            'data' => [
                'title' => 'Passwort zuruecksetzen',
            ],
        ];
    }

    public function sendResetLink(array $payload): array
    {
        return [
            'status' => 'queued-placeholder',
            'email' => $payload['email'] ?? null,
        ];
    }
}
