about summary refs log tree commit diff stats
path: root/src/ui
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 /src/ui
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 'src/ui')
-rw-r--r--src/ui/console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index c7cecf61..8b6693e4 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -908,6 +908,9 @@ cons_show_account(ProfAccount *account)
     if (account->tls_policy) {
         cons_show   ("TLS policy        : %s", account->tls_policy);
     }
+    if (account->auth_policy) {
+        cons_show   ("Auth policy       : %s", account->auth_policy);
+    }
     if (account->last_presence) {
         cons_show   ("Last presence     : %s", account->last_presence);
     }