feat: user can set and update username with 2 step authentication

This commit is contained in:
2025-10-24 17:13:11 +05:30
parent 84d6dc0f8a
commit 2eec1b2e30
7 changed files with 476 additions and 21 deletions

View File

@@ -334,7 +334,15 @@ export default function SetTransactionPwd() {
/>
{/* CAPTCHA */}
<Group mt="sm" align="center">
<Box style={{ backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive" }}>{captcha}</Box>
<Box style={{
backgroundColor: "#fff", fontSize: "18px", textDecoration: "line-through", padding: "4px 8px", fontFamily: "cursive",
userSelect: "none",
pointerEvents: "none",
}}
onCopy={(e) => e.preventDefault()}
onContextMenu={(e) => e.preventDefault()}>
{captcha}</Box>
<Button size="xs" variant="light" onClick={regenerateCaptcha}>Refresh</Button>
</Group>
<TextInput