fix(auth): Remove hardcoded api/v1 prefix from AuthController route

ApiPrefixConvention already prepends api/v1 to all controllers.
AuthController had it hardcoded too, resulting in the doubled route
api/v1/api/v1/auth/login which caused a 404 on login attempts.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 11:35:24 +02:00
co-authored by Claude Haiku 4.5
parent 7237669b14
commit bbb8d5f423
@@ -8,7 +8,7 @@ using SlpModularCms.Core.Identity.Services;
namespace SlpModularCms.Modules.Identity.Controllers;
[ApiController]
[Route("api/v1/auth")]
[Route("auth")]
public class AuthController : ControllerBase
{
private readonly IAuthService _authService;