Merge pull request #337 from OktopUSP/autofix/alert-11-0dd45b29f5
Fix code scanning alert #11: Clear-text logging of sensitive information
This commit is contained in:
commit
004bb9a494
|
|
@ -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