diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2016-05-23 19:49:31 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2016-05-23 19:56:54 +0200 |
commit | 5dee1106703a14c0128880736db77cd7507df776 (patch) | |
tree | bc24468b880c85fd18fa8105a26ab479cf648533 /uui/uiconfig/ui/authfallback.ui | |
parent | 7f07c69df4110db804fd47193135c19b249cbbed (diff) |
Google 2FA: better info for user
Google sends SMS with code in format "G-XXXXXX".
User should enter only numbers wihout "G-".
+ added "G-" label which is shown in the Google
authentication code request before PIN field
Change-Id: I8eaecbbe7b8803269444f947e97ee67c33db61b2
Diffstat (limited to 'uui/uiconfig/ui/authfallback.ui')
-rw-r--r-- | uui/uiconfig/ui/authfallback.ui | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/uui/uiconfig/ui/authfallback.ui b/uui/uiconfig/ui/authfallback.ui index 6c99edfe04cb..dbeb5b52f28e 100644 --- a/uui/uiconfig/ui/authfallback.ui +++ b/uui/uiconfig/ui/authfallback.ui @@ -92,10 +92,32 @@ </packing> </child> <child> - <object class="GtkEntry" id="code"> + <object class="GtkBox" id="box1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="invisible_char">●</property> + <child> + <object class="GtkLabel" id="google_prefix_label"> + <property name="can_focus">False</property> + <property name="label" translatable="yes">G-</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="code"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="invisible_char">●</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> |