2026-05-17 18:42:32 +00:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
|
|
{% block title %}Login{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
<div style="max-width:400px;margin:4rem auto;font-family:sans-serif">
|
|
|
|
|
<h1>SuperSeller Login</h1>
|
|
|
|
|
{% if error %}
|
|
|
|
|
<div style="color:red;margin-bottom:1rem">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<form method="post">
|
|
|
|
|
<div style="margin-bottom:1rem">
|
|
|
|
|
<label for="email">Email</label><br>
|
|
|
|
|
<input id="email" type="email" name="_username" value="{{ last_username }}" required autofocus style="width:100%;padding:.5rem">
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-bottom:1rem">
|
|
|
|
|
<label for="password">Password</label><br>
|
feat: admin panel, Mistral client, attribute management, API key command
- Fix EasyAdmin 5 routing: #[AdminDashboard] attribute + easyadmin.routes loader
- Fix login: _username/_password field names, CSRF stateless token config,
sessions directory, Opcache reload after cache:clear
- Add MistralClient behind OllamaClientInterface — switchable via services.yaml alias
- Add Attribute CRUD with EnumType form + ChoiceField display (enum-safe rendering)
- Add Article Type CRUD with AssociationField for attribute assignments
- Add app:api-keys:create console command (bcrypt-hashed, never stored as plaintext)
- Add redis ext to Docker image + symfony/redis-messenger, start workers
- Translate all UI strings to English
- Add tests: MistralClient, ApiKey, CreateApiKeyCommand, StringArrayType,
ArticleTypeCrudController, AttributeDefinitionCrudController (82 tests total)
- Update design doc: tech stack, AI backend switching guide, ops section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 20:15:13 +00:00
|
|
|
<input id="password" type="password" name="_password" required style="width:100%;padding:.5rem">
|
2026-05-17 18:42:32 +00:00
|
|
|
</div>
|
|
|
|
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
|
|
|
|
<button type="submit" style="padding:.5rem 1rem">Login</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|