question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cancel manual login in PassCodeActivity does not work

See original GitHub issue

Summary:

When the manual login dialog is cancelled in the PassCodeActivity, even though the user is not redirected to login manually the app does not recognize the user’s passcode. This happens because in MifosPasscodeActivity clearTokenPreferences is called before startLoginActivity. I think we should get rid of the login dialog altogether because making the cancel dialog work would entail modifying MifosPasscodeActivity.

Steps to reproduce:

In the PassCodeActivity press ‘forgot passcode, login manually’ then cancel the dialog then try logging in with your passcode.

Screen Recording

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dubeyaayush07commented, Feb 9, 2020

@devansh-299 We will have to set the preferences again as they are needed for the PassCodeActivity to work the other option is to modify MifosPassCodeActivity which I am reluctant to do as all of these mifos app have this activity in common and modifying it would entail changing code in other apps too. Still I will see If I can find a work-around.

0reactions
devansh-299commented, Feb 9, 2020

@devansh-299 I think we should not modify MifosPassCodeActivity as it is a generic class, and in PassCodeActivity setting the preferences after cleaning them seems awkward and redundant. While I was looking for a work-around I looked into mifos-wallet and they are kind of dealing with it the same way directly starting the Login activity. Any suggestions?

Yeah setting the preferences again won’t be a good idea but still removing dialog box itself still doesn’t seem to be a good idea as I myself found it useful at times.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reset your work or school password using security info
If you forgot your work or school password, never got a password from your organization, or have been locked out of your account,...
Read more >
Troubleshoot GCPW - Google Workspace Admin Help
Here's how to troubleshoot common issues with Google Credential Provider for Windows (GCPW). Sign in issues User account issues Locked a.
Read more >
I received an error message saying, “You've reached the ...
Click Log In in the upper right corner; Enter the correct user name and password (if either field is pre-filled, delete it and...
Read more >
Guidelines for Password Management - Computing Services
Forcing an initial password to expire after a period of time (e.g. 72 hours) helps mitigate this risk. This may also be a...
Read more >
Disable browser 'Save Password' functionality - Stack Overflow
The only way you could stop this is to add a fake hidden password field which tricks the browser to populate the password...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found