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