-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[user:*] Update user commands. (#141)
- Loading branch information
Showing
5 changed files
with
34 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
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.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
description: 'Returns a one-time user login url.' | ||
options: | ||
user-id: 'User ID.' | ||
user: 'User name/id.' | ||
messages: | ||
url: 'One-time login for "%s": "%s"' | ||
url: 'One-time login for "%s"' | ||
questions: | ||
user: 'Enter User name/id' | ||
errors: | ||
invalid-user: 'Cannot load user entity (User ID: "%s").' | ||
invalid-user: 'Cannot load user entity using: %s".' | ||
examples: | ||
- description: 'Get one time login url for user id 1' | ||
execution: | | ||
drupal user:login:url 1 | ||
- description: 'Get one time login url for user id 10' | ||
execution: drupal user:login:url 10 | ||
- description: 'Get one time login url for username jmolivas' | ||
execution: drupal user:login:url jmolivas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters