package com.mvrent.carrental.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Dedicated entry point for the admin module — separate from the
 * customer/citizen login handled by {@link AuthController}.
 */
@Controller
public class AdminAuthController {

    /** Admin-only login page, served at /admin/login (no public registration). */
    @GetMapping("/admin/login")
    public String login() {
        return "admin/login";
    }
}
