From 53c9fea18b50afc0f9b0505ab42ca73c3f1c5b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Mon, 17 Sep 2018 13:31:41 +0200 Subject: [PATCH] return user info from repl() --- src/repl.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/repl.jl b/src/repl.jl index e56a68e..8c4896e 100644 --- a/src/repl.jl +++ b/src/repl.jl @@ -799,8 +799,9 @@ end """Initialize the REPL mode, read config files and start the TUI client """ function repl() - load_secret_or_login(load_config_file()) + userinfo = load_secret_or_login(load_config_file()) repl_init(Base.active_repl) + userinfo end ########