Fix login validation and improve error messages
- Check if user account is inactive before allowing login - Add password confirmation in change password dialog - Prevent changing password to the same value - Standardize error messages to say "Invalid index" instead of "Invalid choice" - Add blank line before system pause prompt - Add "Change Password" header to change password screen - Show error message when login fails Fixes #1738 Fixes #1736
This commit is contained in:
@@ -62,6 +62,7 @@ namespace util
|
||||
*/
|
||||
inline void pressEnter()
|
||||
{
|
||||
std::cout << std::endl;
|
||||
system("pause");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user