1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

Escalator: Allow failed password attempts to be retried

There is a limit of 3 attempts before quitting, but the user can try
again after that.

The error messages now display to help the user understand the issue.
This commit is contained in:
Hugh Davenport 2024-03-03 08:01:58 +13:00 committed by Tim Flynn
parent 74b655d035
commit d8f756ce1d
2 changed files with 18 additions and 12 deletions

View file

@ -36,7 +36,7 @@ public:
private:
EscalatorWindow(StringView executable, Vector<StringView> arguments, Options const& options);
ErrorOr<void> check_password();
bool check_password();
Vector<StringView> m_arguments;
StringView m_executable;