|
|
@ -72,7 +72,11 @@ export default function PasswordRecovery({ navigation }) { |
|
|
|
}); |
|
|
|
|
|
|
|
const handleSubmit = async (number, answer, secQuestion) => { |
|
|
|
const apiResponse = await loginByUsernamAnswers(number, secQuestion, answer); |
|
|
|
setConfirmatioModalData({ |
|
|
|
message: "Validando informações", |
|
|
|
show: true, |
|
|
|
}); |
|
|
|
const apiResponse = await loginByUsernamAnswers(number, secQuestion, answer); |
|
|
|
|
|
|
|
switch (apiResponse.status) { |
|
|
|
case 200: |
|
|
|