password edit

This commit is contained in:
Maria Sanchez 2022-08-29 21:08:02 -06:00
parent 697d55b5d5
commit 30e1fdf53b
1 changed files with 9 additions and 1 deletions

View File

@ -27,9 +27,17 @@ export default function Profile({ navigation }) {
console.log(userData.user);
const onHandleChangePassword = (value) => {
console.log(value);
//console.log(value);
const dpassword = stringMd5(value)
console.log(dpassword);
console.log(userData.password);
if (userData.password == dpassword) {
console.log(true);
}else{
console.log(false);
}
}
const ProfileView = () => (