Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Falso positivo no login #56

Closed
ForceTower opened this issue Mar 28, 2019 · 1 comment
Closed

Falso positivo no login #56

ForceTower opened this issue Mar 28, 2019 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ForceTower
Copy link
Owner

ForceTower commented Mar 28, 2019

As vezes o login não funciona por outro motivo alem do "Sagres não respondeu corretamente" (connection timeout ou internal error) e do "Senha incorreta".

O erro: <span id="ctl00_PageContent_lblSessionTimedOut" class="externo-erro">Sua sessão expirou ou é inválida.<br>Por favor, acesse novamente.<br></span>

Adicionar essa regra para que ela seja ignorada e não mostre mais aos usuários a notificação de challenge com login required.

@ForceTower ForceTower added bug Something isn't working good first issue Good for newcomers labels Mar 28, 2019
@ForceTower
Copy link
Owner Author

fun isConnected(document: Document?): Boolean {

Esse método deve passar a retornar mais de 2 estados [Incorrect, Timeout, Correct] e quem utiliza-lo como por exemplo o LoginOperation passar a tratar esses estados. Ou o método pode unir os estados de Timeout e Correct para que os dois retornem true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant