2015-03-12 17:58:01 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-02-01 09:59:37 +01:00
|
|
|
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
|
2015-03-12 17:58:01 +01:00
|
|
|
<!-- $Id$ -->
|
|
|
|
<overlay>
|
2019-06-05 13:10:25 +02:00
|
|
|
<template id="preferences.password.change" template="" lang="" group="0" version="14.2">
|
|
|
|
<grid width="100%">
|
2015-03-12 17:58:01 +01:00
|
|
|
<columns>
|
2019-06-05 13:10:25 +02:00
|
|
|
<column width="200"/>
|
|
|
|
<column/>
|
2015-03-12 17:58:01 +01:00
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<description value="Enter your new password"/>
|
2020-07-23 21:57:55 +02:00
|
|
|
<passwd id="n_passwd" class="et2_required" suggest="16"/>
|
2015-03-12 17:58:01 +01:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<description value="Re-enter your password"/>
|
2019-06-05 13:10:25 +02:00
|
|
|
<passwd id="n_passwd_2" class="et2_required"/>
|
2015-03-12 17:58:01 +01:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2019-06-05 13:10:25 +02:00
|
|
|
</template>
|
|
|
|
<template id="preferences.password.2fa" template="" lang="" group="0" version="19.1">
|
|
|
|
<grid id="2fa" width="100%">
|
2015-03-12 17:58:01 +01:00
|
|
|
<columns>
|
2019-06-05 13:10:25 +02:00
|
|
|
<column width="200"/>
|
2015-03-12 17:58:01 +01:00
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
2019-06-05 13:10:25 +02:00
|
|
|
<row disabled="!@hide_qrc" valign="top">
|
|
|
|
<vbox>
|
|
|
|
<button id="action[show]" label="Show QRCode" statustext="Show QRCode to enable on an additional device."/>
|
|
|
|
<button id="action[reset]" label="Reset QRCode"
|
|
|
|
statustext="Generate new QRCode to disable existing one, after enabling the new one!"/>
|
|
|
|
<button id="action[disable]" label="Disable Two Factor Auth"
|
|
|
|
onclick="et2_dialog.confirm(widget,'Are you sure?','Disable Two Factor Auth')"
|
|
|
|
statustext="Disabling allows to again log in without a second factor."/>
|
|
|
|
</vbox>
|
|
|
|
<description id="status" class="toptStatus"/>
|
|
|
|
</row>
|
|
|
|
<row disabled="@hide_qrc" valign="top">
|
|
|
|
<image src="qrc" class="qrCode"/>
|
|
|
|
<vbox>
|
|
|
|
<description value="Setup Two Factor Authentication" class="toptStatus" height="50px"/>
|
|
|
|
<description/>
|
|
|
|
<description value="Scan QRCode with a Time-based One-time Password (TOTP) App:"/>
|
|
|
|
<description value="Google Authenticator for Android" statustext="click to install"
|
|
|
|
extra_link_target="_blank" class="toptApp" href="$cont[gauth_android]"/>
|
|
|
|
<description value="Google Authenticator for iOS" statustext="click to install"
|
|
|
|
extra_link_target="_blank" class="toptApp" href="$cont[gauth_ios]"/>
|
|
|
|
<description value="Or other compatible apps" class="toptApp"/>
|
|
|
|
</vbox>
|
|
|
|
</row>
|
|
|
|
<row disabled="@hide_qrc">
|
|
|
|
<textbox id="code" blur="XXX XXX" class="et2_required"/>
|
|
|
|
<description value="Enter code to verify correct setup"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
|
|
|
<template id="preferences.password" template="" lang="" group="0" version="19.1">
|
|
|
|
<grid>
|
|
|
|
<columns>
|
2019-07-29 15:43:29 +02:00
|
|
|
<column width="205"/>
|
2019-06-05 13:10:25 +02:00
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<description value="Security & Password" class="securityHeader"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<description value="Current password" for="password"/>
|
|
|
|
<hbox>
|
|
|
|
<passwd id="password" needed="true" autocomplete="off"/>
|
|
|
|
<description value=" "/>
|
|
|
|
<description value="You need to enter your password to make any security changes!"/>
|
|
|
|
</hbox>
|
|
|
|
</row>
|
2015-03-12 17:58:01 +01:00
|
|
|
</rows>
|
|
|
|
</grid>
|
2019-06-05 13:10:25 +02:00
|
|
|
<tabbox id="tabs" tab_height="400" width="100%">
|
|
|
|
<tabs>
|
|
|
|
<tab id="change_password" label="Change password"/>
|
|
|
|
<tab id="two_factor_auth" label="Two factor auth"/>
|
|
|
|
</tabs>
|
|
|
|
<tabpanels>
|
|
|
|
<template id="preferences.password.change"/>
|
|
|
|
<template id="preferences.password.2fa"/>
|
|
|
|
</tabpanels>
|
|
|
|
</tabbox>
|
2015-03-12 17:58:01 +01:00
|
|
|
<hbox class="dialogFooterToolbar">
|
2019-06-05 13:10:25 +02:00
|
|
|
<button label="Save" id="button[save]"/>
|
2015-03-12 17:58:01 +01:00
|
|
|
<button label="Cancel" id="button[cancel]" onclick="window.close();"/>
|
|
|
|
</hbox>
|
|
|
|
</template>
|
|
|
|
</overlay>
|