fix: TTLock — revert to 2-field credentials, improve UI hints
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -391,21 +391,21 @@ export function TTLockPage() {
|
||||
|
||||
<div className="grid grid-cols-2 gap-4">
|
||||
<div>
|
||||
<label className="form-label">Client ID</label>
|
||||
<label className="form-label">Client ID <span className="font-normal text-slate-400">(из TTHotel → Интеграция с PMS)</span></label>
|
||||
<input
|
||||
type="text"
|
||||
value={clientId}
|
||||
onChange={e => setClientId(e.target.value)}
|
||||
placeholder="Из TTHotel → Настройки → Интеграции"
|
||||
placeholder="0004e6c0cdb64324..."
|
||||
className="input w-full font-mono text-sm"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label className="form-label">Client Secret</label>
|
||||
<label className="form-label">Client Secret <span className="font-normal text-slate-400">(нажмите «Просмотр» в TTHotel)</span></label>
|
||||
<PasswordInput
|
||||
value={clientSecret}
|
||||
onChange={setClientSecret}
|
||||
placeholder={config?.clientId ? '••••••• (не изменится)' : 'Из TTHotel → Интеграции → Показать'}
|
||||
placeholder={config?.clientId ? '••••••• (не изменится)' : 'Нажмите «Просмотр» в TTHotel → Интеграция с PMS'}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user