05/19 Enhance codes
This commit is contained in:
+32
-19
@@ -943,24 +943,22 @@ const Vault = (() => {
|
|||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
sectionsEl.innerHTML = "";
|
sectionsEl.innerHTML = "";
|
||||||
const makeSection = (title, icon, items, desc) => {
|
const makeSection = (title, icon, items, desc, renderItem) => {
|
||||||
if (!items.length) return;
|
if (!items.length) return;
|
||||||
const sec = document.createElement("div");
|
const sec = document.createElement("div");
|
||||||
sec.className = "sec-section";
|
sec.className = "sec-section";
|
||||||
|
const defaultRender = (i) => `<li class="sec-item">
|
||||||
|
<span class="sec-item-name">${escHtml(i.name)}</span>
|
||||||
|
<span class="sec-item-sub">${escHtml(i.plain?.username || "")}</span>
|
||||||
|
<button class="btn-secondary btn-sm" data-sec-edit="${i.id}">Edit</button>
|
||||||
|
</li>`;
|
||||||
|
const renderFn = renderItem || defaultRender;
|
||||||
sec.innerHTML = `
|
sec.innerHTML = `
|
||||||
<div class="sec-section-header"><span class="sec-section-icon">${icon}</span>
|
<div class="sec-section-header"><span class="sec-section-icon">${icon}</span>
|
||||||
<div><div class="sec-section-title">${title} (${items.length})</div><div class="sec-section-desc">${desc}</div></div>
|
<div><div class="sec-section-title">${title} (${items.length})</div><div class="sec-section-desc">${desc}</div></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="sec-item-list">
|
<ul class="sec-item-list">
|
||||||
${items
|
${items.map(renderFn).join("")}
|
||||||
.map(
|
|
||||||
(i) => `<li class="sec-item">
|
|
||||||
<span class="sec-item-name">${escHtml(i.name)}</span>
|
|
||||||
<span class="sec-item-sub">${escHtml(i.plain?.username || "")}</span>
|
|
||||||
<button class="btn-secondary btn-sm" data-sec-edit="${i.id}">Edit</button>
|
|
||||||
</li>`,
|
|
||||||
)
|
|
||||||
.join("")}
|
|
||||||
</ul>`;
|
</ul>`;
|
||||||
sec.querySelectorAll("[data-sec-edit]").forEach((btn) => {
|
sec.querySelectorAll("[data-sec-edit]").forEach((btn) => {
|
||||||
btn.addEventListener("click", () => {
|
btn.addEventListener("click", () => {
|
||||||
@@ -995,6 +993,20 @@ const Vault = (() => {
|
|||||||
"🕐",
|
"🕐",
|
||||||
old,
|
old,
|
||||||
"Weak or reused passwords not changed in over 180 days.",
|
"Weak or reused passwords not changed in over 180 days.",
|
||||||
|
(i) => {
|
||||||
|
const ref = i.plain?.password_changed_at || i.created_at;
|
||||||
|
const daysAgo = ref
|
||||||
|
? Math.floor((Date.now() - new Date(ref).getTime()) / 86400000)
|
||||||
|
: null;
|
||||||
|
const ageLabel = daysAgo !== null
|
||||||
|
? `Last changed ${daysAgo} day${daysAgo !== 1 ? "s" : ""} ago`
|
||||||
|
: "Age unknown";
|
||||||
|
return `<li class="sec-item">
|
||||||
|
<span class="sec-item-name">${escHtml(i.name)}</span>
|
||||||
|
<span class="sec-item-sub">${escHtml(ageLabel)}</span>
|
||||||
|
<button class="btn-secondary btn-sm" data-sec-edit="${i.id}">Edit</button>
|
||||||
|
</li>`;
|
||||||
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
// ── Missing 2FA warning ──────────────────────────────────────────────────
|
// ── Missing 2FA warning ──────────────────────────────────────────────────
|
||||||
@@ -1423,6 +1435,9 @@ const Vault = (() => {
|
|||||||
payload = _importRows;
|
payload = _importRows;
|
||||||
} else {
|
} else {
|
||||||
// Plaintext CSV rows — encrypt each one now.
|
// Plaintext CSV rows — encrypt each one now.
|
||||||
|
// Use the import timestamp as password_changed_at — best available
|
||||||
|
// approximation since CSV exports don't carry a change date.
|
||||||
|
const importedAt = new Date().toISOString();
|
||||||
payload = await Promise.all(
|
payload = await Promise.all(
|
||||||
_importRows.map(async (row) => {
|
_importRows.map(async (row) => {
|
||||||
const plain = {
|
const plain = {
|
||||||
@@ -1430,6 +1445,7 @@ const Vault = (() => {
|
|||||||
username: row.username || "",
|
username: row.username || "",
|
||||||
password: row.password,
|
password: row.password,
|
||||||
notes: row.notes || "",
|
notes: row.notes || "",
|
||||||
|
password_changed_at: importedAt,
|
||||||
};
|
};
|
||||||
const { enc_data, iv } = await Crypto.encryptItem(
|
const { enc_data, iv } = await Crypto.encryptItem(
|
||||||
vaultKey,
|
vaultKey,
|
||||||
@@ -1607,8 +1623,7 @@ const Vault = (() => {
|
|||||||
<span class="share-name">${escHtml(s.item_name)}</span>
|
<span class="share-name">${escHtml(s.item_name)}</span>
|
||||||
<span class="share-meta">From ${escHtml(s.owner_email)}</span>
|
<span class="share-meta">From ${escHtml(s.owner_email)}</span>
|
||||||
</div>
|
</div>
|
||||||
${
|
${!s.accepted
|
||||||
!s.accepted
|
|
||||||
? `<button class="btn-primary btn-sm" data-accept="${s.id}">Accept</button>`
|
? `<button class="btn-primary btn-sm" data-accept="${s.id}">Accept</button>`
|
||||||
: `<button class="btn-secondary btn-sm"
|
: `<button class="btn-secondary btn-sm"
|
||||||
data-view-share="${s.id}"
|
data-view-share="${s.id}"
|
||||||
@@ -2155,8 +2170,7 @@ const Vault = (() => {
|
|||||||
<span class="em-vault-chevron">▸</span>
|
<span class="em-vault-chevron">▸</span>
|
||||||
</button>
|
</button>
|
||||||
<div class="em-vault-item-body hidden" id="em-vault-body-${idx}">
|
<div class="em-vault-item-body hidden" id="em-vault-body-${idx}">
|
||||||
${
|
${hasFields
|
||||||
hasFields
|
|
||||||
? '<div class="detail-body em-detail-body"></div>'
|
? '<div class="detail-body em-detail-body"></div>'
|
||||||
: '<p class="vault-empty">Could not decrypt this item.</p>'
|
: '<p class="vault-empty">Could not decrypt this item.</p>'
|
||||||
}
|
}
|
||||||
@@ -2751,8 +2765,7 @@ const Vault = (() => {
|
|||||||
<h3 style="margin:0 0 8px;font-size:16px;color:#111827;">
|
<h3 style="margin:0 0 8px;font-size:16px;color:#111827;">
|
||||||
${isFirstTime ? "🔐 MFA enabled — save your backup codes" : "🔐 New backup codes"}
|
${isFirstTime ? "🔐 MFA enabled — save your backup codes" : "🔐 New backup codes"}
|
||||||
</h3>
|
</h3>
|
||||||
${
|
${isFirstTime
|
||||||
isFirstTime
|
|
||||||
? `<p style="font-size:13px;color:#374151;margin-bottom:12px;">
|
? `<p style="font-size:13px;color:#374151;margin-bottom:12px;">
|
||||||
These codes let you sign in if you lose access to your authenticator app.
|
These codes let you sign in if you lose access to your authenticator app.
|
||||||
<strong>Save them now — they will not be shown again.</strong>
|
<strong>Save them now — they will not be shown again.</strong>
|
||||||
@@ -3684,7 +3697,7 @@ const Vault = (() => {
|
|||||||
"X-CSRFToken": csrfToken(),
|
"X-CSRFToken": csrfToken(),
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ refresh_token: refreshToken }),
|
body: JSON.stringify({ refresh_token: refreshToken }),
|
||||||
}).catch(() => {});
|
}).catch(() => { });
|
||||||
VaultSession.clear();
|
VaultSession.clear();
|
||||||
SharingSession.clear();
|
SharingSession.clear();
|
||||||
sessionStorage.removeItem("access_token");
|
sessionStorage.removeItem("access_token");
|
||||||
@@ -3789,11 +3802,11 @@ const Vault = (() => {
|
|||||||
// Auto-clear clipboard after 30 seconds — industry-standard hygiene.
|
// Auto-clear clipboard after 30 seconds — industry-standard hygiene.
|
||||||
if (_clipboardClearTimer) clearTimeout(_clipboardClearTimer);
|
if (_clipboardClearTimer) clearTimeout(_clipboardClearTimer);
|
||||||
_clipboardClearTimer = setTimeout(() => {
|
_clipboardClearTimer = setTimeout(() => {
|
||||||
navigator.clipboard.writeText("").catch(() => {});
|
navigator.clipboard.writeText("").catch(() => { });
|
||||||
_clipboardClearTimer = null;
|
_clipboardClearTimer = null;
|
||||||
}, 30_000);
|
}, 30_000);
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
}
|
}
|
||||||
|
|
||||||
function escHtml(str) {
|
function escHtml(str) {
|
||||||
|
|||||||
@@ -932,6 +932,7 @@ body {
|
|||||||
background: #e0f2fe;
|
background: #e0f2fe;
|
||||||
color: #0369a1;
|
color: #0369a1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── Three-dot flyout menu ───────────────────────────────────────────────── */
|
/* ── Three-dot flyout menu ───────────────────────────────────────────────── */
|
||||||
|
|
||||||
.pk-flyout {
|
.pk-flyout {
|
||||||
@@ -940,7 +941,7 @@ body {
|
|||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border: 1px solid #e5e7eb;
|
border: 1px solid #e5e7eb;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 0 4px 16px rgba(0,0,0,0.13);
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -972,9 +973,20 @@ body {
|
|||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pk-flyout-info {
|
||||||
|
padding: 6px 12px 7px;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #9ca3af;
|
||||||
|
border-top: 1px solid #f3f4f6;
|
||||||
|
margin-top: 2px;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Collapsible folder groups ────────────────────────────────────────────── */
|
/* ── Collapsible folder groups ────────────────────────────────────────────── */
|
||||||
|
|
||||||
.pk-group { margin-bottom: 2px; }
|
.pk-group {
|
||||||
|
margin-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
.pk-group-header {
|
.pk-group-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -988,7 +1000,9 @@ body {
|
|||||||
transition: background 0.1s;
|
transition: background 0.1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pk-group-header:hover { background: #f0f4ff; }
|
.pk-group-header:hover {
|
||||||
|
background: #f0f4ff;
|
||||||
|
}
|
||||||
|
|
||||||
.pk-group-name {
|
.pk-group-name {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
+43
-18
@@ -69,10 +69,10 @@ function escHtml(str) {
|
|||||||
// Auto-clear clipboard 30 s after a sensitive copy.
|
// Auto-clear clipboard 30 s after a sensitive copy.
|
||||||
let _clipTimer = null;
|
let _clipTimer = null;
|
||||||
function _copyWithAutoClear(text) {
|
function _copyWithAutoClear(text) {
|
||||||
navigator.clipboard.writeText(text).catch(() => {});
|
navigator.clipboard.writeText(text).catch(() => { });
|
||||||
if (_clipTimer) clearTimeout(_clipTimer);
|
if (_clipTimer) clearTimeout(_clipTimer);
|
||||||
_clipTimer = setTimeout(() => {
|
_clipTimer = setTimeout(() => {
|
||||||
navigator.clipboard.writeText("").catch(() => {});
|
navigator.clipboard.writeText("").catch(() => { });
|
||||||
_clipTimer = null;
|
_clipTimer = null;
|
||||||
}, 30_000);
|
}, 30_000);
|
||||||
}
|
}
|
||||||
@@ -186,7 +186,7 @@ function siteLabel(item) {
|
|||||||
if (item.plain?.url) {
|
if (item.plain?.url) {
|
||||||
try {
|
try {
|
||||||
return new URL(item.plain.url).hostname.replace(/^www\./, "");
|
return new URL(item.plain.url).hostname.replace(/^www\./, "");
|
||||||
} catch {}
|
} catch { }
|
||||||
}
|
}
|
||||||
return item.name;
|
return item.name;
|
||||||
}
|
}
|
||||||
@@ -441,7 +441,7 @@ async function completeLogin(data, masterPassword) {
|
|||||||
refresh_token: data.refresh_token,
|
refresh_token: data.refresh_token,
|
||||||
enc_key_salt: data.enc_key_salt,
|
enc_key_salt: data.enc_key_salt,
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
|
|
||||||
showView("vault");
|
showView("vault");
|
||||||
await checkPendingSave();
|
await checkPendingSave();
|
||||||
@@ -502,9 +502,9 @@ async function signOut() {
|
|||||||
Authorization: `Bearer ${access_token}`,
|
Authorization: `Bearer ${access_token}`,
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ refresh_token }),
|
body: JSON.stringify({ refresh_token }),
|
||||||
}).catch(() => {});
|
}).catch(() => { });
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch { }
|
||||||
await chrome.storage.session.clear();
|
await chrome.storage.session.clear();
|
||||||
await chrome.storage.local.remove(["refresh_token", "enc_key_salt"]);
|
await chrome.storage.local.remove(["refresh_token", "enc_key_salt"]);
|
||||||
// vault_items_cs is now in session storage — cleared by the session.clear() call above.
|
// vault_items_cs is now in session storage — cleared by the session.clear() call above.
|
||||||
@@ -616,7 +616,7 @@ async function fetchAndDecryptVault() {
|
|||||||
type: "VAULT_UPDATED",
|
type: "VAULT_UPDATED",
|
||||||
vault_items: itemsForContentScript,
|
vault_items: itemsForContentScript,
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
|
|
||||||
// Run health checks in the background — sync metrics first, then HIBP.
|
// Run health checks in the background — sync metrics first, then HIBP.
|
||||||
// Results are sent to the background SW via HEALTH_UPDATE so the toolbar
|
// Results are sent to the background SW via HEALTH_UPDATE so the toolbar
|
||||||
@@ -645,7 +645,7 @@ async function _runPopupHealthCheck() {
|
|||||||
if (!pwItems.length) {
|
if (!pwItems.length) {
|
||||||
chrome.runtime
|
chrome.runtime
|
||||||
.sendMessage({ type: "HEALTH_UPDATE", breached: 0, weak: 0, reused: 0 })
|
.sendMessage({ type: "HEALTH_UPDATE", breached: 0, weak: 0, reused: 0 })
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -676,7 +676,7 @@ async function _runPopupHealthCheck() {
|
|||||||
weak: weak.length,
|
weak: weak.length,
|
||||||
reused: reused.length,
|
reused: reused.length,
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
|
|
||||||
// HIBP — k-anonymity, parallel.
|
// HIBP — k-anonymity, parallel.
|
||||||
const hibpResults = await Promise.all(
|
const hibpResults = await Promise.all(
|
||||||
@@ -695,7 +695,7 @@ async function _runPopupHealthCheck() {
|
|||||||
weak: weak.length,
|
weak: weak.length,
|
||||||
reused: reused.length,
|
reused: reused.length,
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("[PassKeeper] Popup health check failed:", err);
|
console.error("[PassKeeper] Popup health check failed:", err);
|
||||||
}
|
}
|
||||||
@@ -1053,7 +1053,7 @@ function renderList() {
|
|||||||
password: item.plain.password || "",
|
password: item.plain.password || "",
|
||||||
autologin: !!item.plain.autologin,
|
autologin: !!item.plain.autologin,
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
}
|
}
|
||||||
window.close();
|
window.close();
|
||||||
}),
|
}),
|
||||||
@@ -1131,6 +1131,26 @@ function renderList() {
|
|||||||
: null,
|
: null,
|
||||||
].filter(Boolean);
|
].filter(Boolean);
|
||||||
|
|
||||||
|
// Add a non-action info row showing when the password was last changed.
|
||||||
|
// Only shown for password items that have password_changed_at set.
|
||||||
|
if (item.item_type === "password" && item.plain?.password_changed_at) {
|
||||||
|
const daysAgo = Math.floor(
|
||||||
|
(Date.now() - new Date(item.plain.password_changed_at).getTime()) /
|
||||||
|
86400000,
|
||||||
|
);
|
||||||
|
const ageText =
|
||||||
|
daysAgo === 0
|
||||||
|
? "Changed today"
|
||||||
|
: daysAgo === 1
|
||||||
|
? "Changed yesterday"
|
||||||
|
: `Changed ${daysAgo} days ago`;
|
||||||
|
const infoRow = document.createElement("div");
|
||||||
|
infoRow.className = "pk-flyout-info";
|
||||||
|
infoRow.textContent = ageText;
|
||||||
|
// Append after action rows are added.
|
||||||
|
flyout._ageInfoRow = infoRow;
|
||||||
|
}
|
||||||
|
|
||||||
menuItems.forEach((mi) => {
|
menuItems.forEach((mi) => {
|
||||||
const row = document.createElement("button");
|
const row = document.createElement("button");
|
||||||
row.className = "pk-flyout-item";
|
row.className = "pk-flyout-item";
|
||||||
@@ -1142,6 +1162,11 @@ function renderList() {
|
|||||||
flyout.appendChild(row);
|
flyout.appendChild(row);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Append age info row if present.
|
||||||
|
if (flyout._ageInfoRow) {
|
||||||
|
flyout.appendChild(flyout._ageInfoRow);
|
||||||
|
}
|
||||||
|
|
||||||
// Position flyout using fixed coords so it escapes vault-list overflow clipping.
|
// Position flyout using fixed coords so it escapes vault-list overflow clipping.
|
||||||
const appEl = document.getElementById("app");
|
const appEl = document.getElementById("app");
|
||||||
appEl.appendChild(flyout);
|
appEl.appendChild(flyout);
|
||||||
@@ -1246,7 +1271,7 @@ async function checkPendingSave() {
|
|||||||
function _clearPendingSave() {
|
function _clearPendingSave() {
|
||||||
$("save-prompt-overlay").classList.add("hidden");
|
$("save-prompt-overlay").classList.add("hidden");
|
||||||
chrome.storage.local.remove("pending_save");
|
chrome.storage.local.remove("pending_save");
|
||||||
chrome.runtime.sendMessage({ type: "CLEAR_SAVE_BADGE" }).catch(() => {});
|
chrome.runtime.sendMessage({ type: "CLEAR_SAVE_BADGE" }).catch(() => { });
|
||||||
}
|
}
|
||||||
|
|
||||||
$("btn-save-yes").onclick = async () => {
|
$("btn-save-yes").onclick = async () => {
|
||||||
@@ -1484,7 +1509,7 @@ async function initAddView() {
|
|||||||
: new URL(tab.url).hostname.replace(/^www\./, "");
|
: new URL(tab.url).hostname.replace(/^www\./, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (e) { }
|
||||||
|
|
||||||
// Load folders into the add-folder select.
|
// Load folders into the add-folder select.
|
||||||
const addFolderSel = $("add-folder");
|
const addFolderSel = $("add-folder");
|
||||||
@@ -1500,7 +1525,7 @@ async function initAddView() {
|
|||||||
addFolderSel.appendChild(opt);
|
addFolderSel.appendChild(opt);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (e) { }
|
||||||
|
|
||||||
// Wire one-time event listeners.
|
// Wire one-time event listeners.
|
||||||
if (!_addViewInitialised) {
|
if (!_addViewInitialised) {
|
||||||
@@ -1635,7 +1660,7 @@ async function initAccountView() {
|
|||||||
// Tell background to re-apply the new interval.
|
// Tell background to re-apply the new interval.
|
||||||
chrome.runtime
|
chrome.runtime
|
||||||
.sendMessage({ type: "SET_IDLE_TIMEOUT", seconds: val })
|
.sendMessage({ type: "SET_IDLE_TIMEOUT", seconds: val })
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
// Brief "Saved" confirmation.
|
// Brief "Saved" confirmation.
|
||||||
const saved = $("acct-idle-saved");
|
const saved = $("acct-idle-saved");
|
||||||
saved.classList.remove("hidden");
|
saved.classList.remove("hidden");
|
||||||
@@ -1656,7 +1681,7 @@ async function init() {
|
|||||||
currentWindow: true,
|
currentWindow: true,
|
||||||
});
|
});
|
||||||
_currentUrl = tab?.url || "";
|
_currentUrl = tab?.url || "";
|
||||||
} catch {}
|
} catch { }
|
||||||
|
|
||||||
// Set vault link
|
// Set vault link
|
||||||
$("btn-open-vault").href = VAULT_URL;
|
$("btn-open-vault").href = VAULT_URL;
|
||||||
@@ -1672,7 +1697,7 @@ async function init() {
|
|||||||
showView("generator");
|
showView("generator");
|
||||||
initGenerator();
|
initGenerator();
|
||||||
// Still load vault data in background so the Vault tab is ready.
|
// Still load vault data in background so the Vault tab is ready.
|
||||||
fetchAndDecryptVault().then(() => {});
|
fetchAndDecryptVault().then(() => { });
|
||||||
// Wire event listeners below, then return early from vault-specific setup.
|
// Wire event listeners below, then return early from vault-specific setup.
|
||||||
} else {
|
} else {
|
||||||
showView("vault");
|
showView("vault");
|
||||||
@@ -1752,7 +1777,7 @@ async function init() {
|
|||||||
// browser is open. We ping it every 20 s; the ping itself is a no-op but
|
// browser is open. We ping it every 20 s; the ping itself is a no-op but
|
||||||
// prevents the SW from being killed between popup openings.
|
// prevents the SW from being killed between popup openings.
|
||||||
const _keepalive = setInterval(() => {
|
const _keepalive = setInterval(() => {
|
||||||
chrome.runtime.sendMessage({ type: "KEEPALIVE" }).catch(() => {});
|
chrome.runtime.sendMessage({ type: "KEEPALIVE" }).catch(() => { });
|
||||||
}, 20_000);
|
}, 20_000);
|
||||||
|
|
||||||
// Search
|
// Search
|
||||||
|
|||||||
Reference in New Issue
Block a user