added DOM id for allow_session_ip_change, for easier customization

Massimo Melina committed Jan 12, 2025 at 11:12 UTC 6fa20ba1c246d9ee9c7ec113e38073c4ca475605
1 file changed +1 -1
frontend/src/login.ts
+1 -1
@@ -102,7 +102,7 @@ export async function loginDialog(closable=true, reloadAfter=true) {
102 h('div', { style: { textAlign: 'right' } },
103 h('button', { type: 'submit' }, t`Continue`)),
104 h('div', { id: 'login-options' },
105 - h(Checkbox, { ref: ipRef },
105 + h(Checkbox, { ref: ipRef, labelProps: { id: 'allow_session_ip_change' } },
106 t('allow_session_ip_change', "Allow IP change during this session")),
107 ),
108 )