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:
Leandro Antônio Farias Machado 2024-09-21 11:26:59 -03:00 committed by GitHub
commit 004bb9a494
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -406,7 +406,7 @@ const Page = () => {
}
}>Cancel</Button>
<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 === "") {
setIsPasswordEmpty(true)
return