You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.8 KiB
43 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
Copyright 2016-2017 LasLabs Inc.
|
|
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
|
-->
|
|
|
|
<odoo>
|
|
<record id="res_users_authenticator_create_view_form" model="ir.ui.view">
|
|
<field name="name">MFA App/Device Creation Wizard</field>
|
|
<field name="model">res.users.authenticator.create</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Authenticator Info">
|
|
<header/>
|
|
<sheet>
|
|
<div>
|
|
<span>Please provide a name for your app/device. </span>
|
|
<span>Then scan the QR code or enter the secret code below to add this account to your authenticator app and enter in the six digit code produced by the app.</span>
|
|
</div>
|
|
<group name="data">
|
|
<field name="name"/>
|
|
<field name="user_id"/>
|
|
<field name="secret_key" readonly="1"/>
|
|
<field name="qr_code_tag"/>
|
|
<field name="confirmation_code"/>
|
|
</group>
|
|
</sheet>
|
|
<footer>
|
|
<button special="cancel" string="Cancel" class="pull-left"/>
|
|
<button name="action_create" type="object" string="Create" class="oe_highlight pull-right"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="res_users_authenticator_create_action" model="ir.actions.act_window">
|
|
<field name="name">MFA App/Device Creation Wizard</field>
|
|
<field name="res_model">res.users.authenticator.create</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
</odoo>
|