Fortunately in my case this is part of an internal tool that is used by me and a few other developers, so the environment should be reasonably predictable and stable. I'm just thinking that in general this would not be a very good solution due to variations in password request text as well as the issue with localization.
↧