Fix code scanning alert #11: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
d4afbbbfd1
commit
48363a24e5
|
|
@ -406,7 +406,7 @@ const Page = () => {
|
||||||
}
|
}
|
||||||
}>Cancel</Button>
|
}>Cancel</Button>
|
||||||
<Button onClick={()=>{
|
<Button onClick={()=>{
|
||||||
console.log("new user data: ", newUserData)
|
// console.log("new user data: ", newUserData) // Removed to prevent logging sensitive information
|
||||||
if (newUserData.password === undefined || newUserData.password === "") {
|
if (newUserData.password === undefined || newUserData.password === "") {
|
||||||
setIsPasswordEmpty(true)
|
setIsPasswordEmpty(true)
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user