diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-06-20 10:45:56 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-12-03 14:48:41 +1100 |
commit | 07f6db7fc29a93fae3213af18371cccb17e0276a (patch) | |
tree | e6306f75ae6cb0e863d9c096d0a7a56140657634 /ui/ncurses/nc-plugin.h | |
parent | 9011b958364f2af965a33681e7375f079ba75d02 (diff) | |
download | talos-petitboot-07f6db7fc29a93fae3213af18371cccb17e0276a.tar.gz talos-petitboot-07f6db7fc29a93fae3213af18371cccb17e0276a.zip |
ui/ncurses: Add nc-auth and authenticate when required.
When the user tries to perform actions that require authentication a new
subscreen 'nc-auth' is launched which accepts a password and will send
an authentication request before performing the action.
This also adds a button in nc-config which launches an nc-auth screen
allowing the user to set or change the system password.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/nc-plugin.h')
-rw-r--r-- | ui/ncurses/nc-plugin.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/ncurses/nc-plugin.h b/ui/ncurses/nc-plugin.h index 6dfd4ae..398b7c7 100644 --- a/ui/ncurses/nc-plugin.h +++ b/ui/ncurses/nc-plugin.h @@ -29,6 +29,4 @@ struct plugin_screen *plugin_screen_init(struct cui *cui, struct nc_scr *plugin_screen_scr(struct plugin_screen *screen); void plugin_screen_update(struct plugin_screen *screen); -int plugin_install_plugin(struct pmenu_item *item); - #endif /* defined _NC_PLUGIN_H */ |