about summary refs log tree commit diff stats
path: root/tests/unittests/config
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2020-02-27 01:22:05 +0200
committerDmitry Podgorny <pasis.ua@gmail.com>2020-06-05 11:37:51 +0300
commitac410445af65b9d332d4606a08ff549672042766 (patch)
tree0a898a43ee4a5c704fe496d004efa7e57b0cb735 /tests/unittests/config
parent8c9aee22e81804bda6590ba80e9450ca90f56d14 (diff)
downloadprofani-tty-ac410445af65b9d332d4606a08ff549672042766.tar.gz
Add option for legacy authentication
New options:
  /connect <account> [auth default|legacy]
  /account <account> set auth default|legacy

Fixes #1236.
Diffstat (limited to 'tests/unittests/config')
-rw-r--r--tests/unittests/config/stub_accounts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/config/stub_accounts.c b/tests/unittests/config/stub_accounts.c
index bedc44d4..ce2c3379 100644
--- a/tests/unittests/config/stub_accounts.c
+++ b/tests/unittests/config/stub_accounts.c
@@ -128,6 +128,7 @@ void accounts_set_pgp_keyid(const char * const account_name, const char * const
 void accounts_set_script_start(const char * const account_name, const char * const value) {}
 void accounts_set_theme(const char * const account_name, const char * const value) {}
 void accounts_set_tls_policy(const char * const account_name, const char * const value) {}
+void accounts_set_auth_policy(const char * const account_name, const char * const value) {}
 
 void accounts_set_login_presence(const char * const account_name, const char * const value)
 {