diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-16 14:43:06 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-16 14:43:06 +0100 |
commit | 1370f74f380a162f6e36edca551a53410bb67105 (patch) | |
tree | 62d36d2fa0ad933f1d417ab92001ebba837c1bc1 /contrib | |
parent | f2fbc38b8201d109c34d2fc5f6568c5c648cf328 (diff) | |
download | anastasis-gtk-1370f74f380a162f6e36edca551a53410bb67105.tar.gz anastasis-gtk-1370f74f380a162f6e36edca551a53410bb67105.tar.bz2 anastasis-gtk-1370f74f380a162f6e36edca551a53410bb67105.zip |
implement denying 1-FA in anastasis-gtk
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Makefile.am | 1 | ||||
-rw-r--r-- | contrib/anastasis_gtk_deny_singlefactor.glade | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 8e0862d..d2a2cdb 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -37,6 +37,7 @@ pkgdata_DATA = \ anastasis_gtk_challenge_iban.glade \ anastasis_gtk_challenge_question.glade \ anastasis_gtk_challenge_totp.glade \ + anastasis_gtk_deny_singlefactor.glade \ anastasis_gtk_edit_providers.glade \ anastasis_gtk_edit_policy.glade \ anastasis_gtk_open_file_dialog.glade \ diff --git a/contrib/anastasis_gtk_deny_singlefactor.glade b/contrib/anastasis_gtk_deny_singlefactor.glade new file mode 100644 index 0000000..e68d21b --- /dev/null +++ b/contrib/anastasis_gtk_deny_singlefactor.glade @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.38.2 --> +<interface> + <requires lib="gtk+" version="3.24"/> + <object class="GtkMessageDialog" id="anastasis_gtk_deny_singlefactor_dialog"> + <property name="can-focus">False</property> + <property name="title" translatable="yes">Single-factor authentication is not allowed!</property> + <property name="modal">True</property> + <property name="window-position">center</property> + <property name="type-hint">dialog</property> + <property name="message-type">warning</property> + <property name="text" translatable="yes">To keep your secret secure, we require at least two authentication options, and recommend you specify at least three authentication options before proceeding.</property> + <property name="secondary-text" translatable="yes">Select "back" to add additional authentication options.</property> + <signal name="response" handler="anastasis_gtk_deny_singlefactor_dialog_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkBox"> + <property name="can-focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox"> + <property name="can-focus">False</property> + <property name="homogeneous">True</property> + <property name="layout-style">end</property> + <child> + <object class="GtkButton" id="back_button"> + <property name="label">gtk-go-back</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="tooltip-text" translatable="yes">Go back to the previous dialog to add more authentication options.</property> + <property name="use-stock">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="padding">5</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">back_button</action-widget> + </action-widgets> + </object> +</interface> |