@samitouri / QOSami-HFS / commits / 6105193d

legacy: change-password not available on ff52, so don't show it

Massimo Melina committed Jun 20, 2024 at 17:58 UTC 6105193d0af7c56fcbf2a50fb3a8880e04b29e10
1 file changed +1 -1
frontend/src/UserPanel.ts
+1 -1
@@ -21,7 +21,7 @@ export default function showUserPanel() {
21 h('div', {}, t`Username`, ': ', snap.username),
22 snap.accountExp && h('div', {}, t`Account expiration`, ': ', formatTimestamp(snap.accountExp)),
23 h(CustomCode, { name: 'userPanelAfterInfo' }),
24 - snap.canChangePassword && h(Btn, {
24 + snap.canChangePassword && !fallbackToBasicAuth() && h(Btn, {
25 icon: 'password',
26 label: t`Change password`,
27 id: 'change-password',