feat : api integrated change login password and change transaction password
This commit is contained in:
@@ -135,7 +135,6 @@ export default function ChangePassword() {
|
||||
router.push("/login");
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await fetch("/api/auth/transaction_password", {
|
||||
method: "POST",
|
||||
@@ -196,8 +195,8 @@ export default function ChangePassword() {
|
||||
<div style={{ overflowY: "auto", maxHeight: "280px", paddingRight: 8 }}>
|
||||
<Group grow>
|
||||
<PasswordInput
|
||||
label="New Password"
|
||||
placeholder="Enter new password"
|
||||
label="New Transaction Password"
|
||||
placeholder="Enter new Transaction password"
|
||||
value={newPassword}
|
||||
onChange={(e) => setNewPassword(e.currentTarget.value)}
|
||||
withAsterisk
|
||||
|
Reference in New Issue
Block a user