diff --git a/frontend/auth/admin/AdminApp.vue b/frontend/auth/admin/AdminApp.vue index fad002f..c979a0f 100644 --- a/frontend/auth/admin/AdminApp.vue +++ b/frontend/auth/admin/AdminApp.vue @@ -508,10 +508,10 @@ function openRealm(realm) { function deleteRealm(realm) { openDialog('confirm', { - message: `Delete realm "${realm.rp_id}"? This is refused while any passkeys remain registered for it.`, + message: `Delete domain "${realm.rp_id}"? This is refused while any passkeys remain registered for it.`, action: async () => { await apiJson(`/auth/api/admin/realms/${realm.rp_id}`, { method: 'DELETE' }) - authStore.showMessage(`Realm "${realm.rp_id}" deleted.`, 'success', 2500) + authStore.showMessage(`Domain "${realm.rp_id}" deleted.`, 'success', 2500) await loadRealms() } }) @@ -958,7 +958,7 @@ async function submitDialog() { : apiJson(`/auth/api/admin/realms/${rp_id}`, { method: 'PATCH', body: { rp_name, auth_host, origins, related_origins } }) req .then(() => { - authStore.showMessage(`Realm "${rp_id}" ${d.isNew ? 'created' : 'updated'}.`, 'success', 2500) + authStore.showMessage(`Domain "${rp_id}" ${d.isNew ? 'created' : 'updated'}.`, 'success', 2500) loadRealms() // Reload settings to reflect rp_name changes authStore.loadSettings(true).then(() => { @@ -966,7 +966,7 @@ async function submitDialog() { }) }) .catch(e => { - authStore.showMessage(e.message || 'Failed to save realm', 'error') + authStore.showMessage(e.message || 'Failed to save domain', 'error') }) return // Don't call closeDialog() again } else if (t === 'confirm') { diff --git a/frontend/src/admin/AdminDialogs.vue b/frontend/src/admin/AdminDialogs.vue index 281672a..6504262 100644 --- a/frontend/src/admin/AdminDialogs.vue +++ b/frontend/src/admin/AdminDialogs.vue @@ -216,7 +216,7 @@ function validateAuthHost() { - +