description: 'Clear failed login attempts for an account.'
help: 'The <info>user:login:clear:attempts</info> command resets the failed login attempts for an account.'
-options:
- user-id: 'User ID.'
+arguments:
+ user: 'User name/id.'
questions:
- uid: 'Enter User ID.'
- numeric-uid: 'User id must be an integer.'
- invalid-uid: 'User id must be upper than zero.'
+ user: 'Enter User name/id'
messages:
- successful: 'Login attempts were successfully cleared for user id "%s".'
+ successful: 'Login attempts were successfully cleared for user: "%s".'
errors:
- invalid-user: 'Cannot load user entity (Uid: "%s").'
+ invalid-user: 'Cannot load user entity using: "%s".'
no-flood: 'No flood table on the system.'