diff options
author | Thorben Günther <admin@xenrox.net> | 2021-03-11 14:38:27 +0100 |
---|---|---|
committer | Thorben Günther <admin@xenrox.net> | 2021-03-11 14:40:17 +0100 |
commit | 71236a0d5a47277d55caa5a09befa97ccabe7fec (patch) | |
tree | 5d2a3585322f72bad73060fa4fce59afadd6d8f5 /tests/unittests | |
parent | 96580f917b5c0a061e7bf41714cf48c8e89cd5f8 (diff) | |
download | profani-tty-71236a0d5a47277d55caa5a09befa97ccabe7fec.tar.gz |
Update ui_ask_password to support confirmation
Just prints a different string to console. Useful for changing passwords or account registration.
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/ui/stub_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 61e18ee0..dc36678b 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -211,7 +211,7 @@ ui_win_unread(int index) } char* -ui_ask_password(void) +ui_ask_password(gboolean confirm) { return mock_ptr_type(char*); } |