package org.raddatz.familienarchiv.auth;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("rate-limit.login")
@Data
public class RateLimitProperties {
    private int maxAttemptsPerIpEmail = 10;
    private int maxAttemptsPerIp = 20;
    private int windowMinutes = 15;
}
