Merge pull request #339 from OktopUSP/autofix/alert-9-356999ecb0
Fix code scanning alert #9: Clear-text logging of sensitive information
This commit is contained in:
commit
7053f9fea4
|
|
@ -352,7 +352,8 @@ const Page = () => {
|
|||
}
|
||||
}>Cancel</Button>
|
||||
<Button onClick={()=>{
|
||||
console.log("new user data: ", newDeviceData)
|
||||
const { password, ...nonSensitiveData } = newDeviceData;
|
||||
console.log("new user data: ", nonSensitiveData)
|
||||
if (newDeviceData.id === undefined || newDeviceData.id === "") {
|
||||
setIsUsernameEmpty(true)
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user