feat(auth): add admin login/password form with generic-error fallback

Wires the existing @marketplaces/auth credentials gateway into the admin
Telegram login dialog behind a toggle. Targets the documented but not-yet-
live POST /api/identity/v1/session contract (BACKEND-INTEGRATION.md §1.2);
any failure - 404 today, a real auth error once the backend ships - shows
one generic "try another way to sign in" message, never the raw error.

Also adds public/favicon.ico (was 404ing; reuses existing app icon).
This commit is contained in:
sdarbinyan
2026-08-27 04:03:24 +04:00
parent 7e3f2d743f
commit 80c9978e03
9 changed files with 195 additions and 2 deletions

View File

@@ -1164,6 +1164,12 @@ export const ru: Translations = {
loginNote: 'После входа вы будете перенаправлены обратно',
qrExpired: 'QR-код устарел. Нажмите, чтобы обновить',
qrError: 'Не удалось создать сессию входа. Нажмите, чтобы повторить',
loginWithCredentials: 'Войти по логину и паролю',
credentialsLoginLabel: 'Логин',
credentialsPasswordLabel: 'Пароль',
credentialsSubmit: 'Войти',
credentialsBack: 'Назад',
credentialsGenericError: 'Что-то пошло не так. Попробуйте войти другим способом.',
},
ux: {
items: 'товаров',