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