#1141 Split TOTP permissions for add/remove, refactor TOTP services
- Split TotpService further into GenerateTotpService and TotpAuthenticator, which wraps the GoogleAuthenticator impl - Add missing tests for the services - Change GenerateTotpService's interface to behave like a collection for more intuitive method behavior
This commit is contained in:
@@ -126,7 +126,7 @@ public class HelpTranslationGeneratorIntegrationTest {
|
||||
|
||||
// Check /login
|
||||
checkDescription(configuration.get("commands.login"), "Login command", "/login detailed desc.");
|
||||
checkArgs(configuration.get("commands.login"), arg("loginArg", "Login password"));
|
||||
checkArgs(configuration.get("commands.login"), arg("loginArg", "Login password"), arg("2faArg", "TOTP code"));
|
||||
|
||||
// Check /unregister
|
||||
checkDescription(configuration.get("commands.unregister"), "unreg_desc", "unreg_detail_desc");
|
||||
|
||||
Reference in New Issue
Block a user