-
fix(settings): correct third-party binding states and unify Telegram · 3bbba553
button styling - Show “Not enabled” for WeChat when status.wechat_login is false. - Refresh /api/status on PersonalSetting mount and persist via setStatusData to avoid stale flags, enabling binding after admin turns on OAuth. - Unify Telegram button styling with other providers; open a modal to render TelegramLoginButton for binding; align disabled “Not enabled” and “Bound” states. - Introduce isBound helper and reuse across providers (email/GitHub/OIDC/ LinuxDO/WeChat) to simplify checks and prevent falsy-ID issues.
RedwindA committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| cards | Loading commit data... | |
| components | Loading commit data... | |
| modals | Loading commit data... |