This Pull Request updates the code base so the password entered in the login screen is cleared once the app progresses to the MainActivity.
Why
This Pull Request is needed because it improves security. Now it is sometimes possible to get back to the LoginActivity, and then the password is still there 😕
How
It is pretty hard to test this future, unless you know a way to cause your phone to get to the LoginActivity in an unexpected fashion. On my device, if the app crashes I immediately go back to the LoginActivity and then the password would still be there.
Alternative implementation
Clear the input if the LoginActivity is created. Simply seemed like a worse idea then the current implementation.
Relevant Issues: -
Related Pull Requests: -
What
This Pull Request updates the code base so the password entered in the login screen is cleared once the app progresses to the
MainActivity
.Why
This Pull Request is needed because it improves security. Now it is sometimes possible to get back to the
LoginActivity
, and then the password is still there 😕How
It is pretty hard to test this future, unless you know a way to cause your phone to get to the
LoginActivity
in an unexpected fashion. On my device, if the app crashes I immediately go back to theLoginActivity
and then the password would still be there.Alternative implementation
LoginActivity
is created. Simply seemed like a worse idea then the current implementation.Notes
None