diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-11-04 14:38:27 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-11-04 14:50:53 +0100 |
commit | dc7d99fa738417b5508845745067862e18a7c963 (patch) | |
tree | 93e91e379c4ce3c3299b1e7d05450a9a37554afe /src/plugins | |
parent | 738535e7f628d9b4a26cccc8b598e07e63ac1123 (diff) | |
download | weechat-dc7d99fa738417b5508845745067862e18a7c963.zip |
core: improve description of infos "totp_generate" and ""totp_validate"
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/plugin-api-info.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/plugin-api-info.c b/src/plugins/plugin-api-info.c index e930479e0..ebe941f14 100644 --- a/src/plugins/plugin-api-info.c +++ b/src/plugins/plugin-api-info.c @@ -1731,14 +1731,14 @@ plugin_api_info_init () N_("generate a Time-based One-Time Password (TOTP)"), N_("secret (in base32), timestamp (optional, current time by " "default), number of digits (optional, between 4 and 10, " - "6 is default and recommended value)"), + "6 by default)"), &plugin_api_info_totp_generate_cb, NULL, NULL); hook_info (NULL, "totp_validate", N_("validate a Time-based One-Time Password (TOTP): 1 if TOTP " "is correct, otherwise 0"), N_("secret (in base32), one-time password, " - "timestamp (optional), number of OTP after/before to test " - "(optional, 0 by default)"), + "timestamp (optional, current time by default), number of " + "passwords before/after to test (optional, 0 by default)"), &plugin_api_info_totp_validate_cb, NULL, NULL); /* WeeChat core infolist hooks */ |