Skip to content

Commit

Permalink
Resolve merge conflict in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
fkantelberg committed Mar 14, 2019
1 parent 3066593 commit 813e9fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion auth_totp/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
'name': 'MFA Support',
'summary': 'Allows users to enable MFA and add optional trusted devices',
'version': '11.0.1.0.0',
'version': '11.0.1.1.0',
'category': 'Tools',
'website': 'https://github.com/OCA/server-auth',
'author': 'LasLabs, Odoo Community Association (OCA)',
Expand Down
1 change: 1 addition & 0 deletions auth_totp/wizards/res_users_authenticator_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class ResUsersAuthenticatorCreate(models.TransientModel):
required=True,
)
secret_key = fields.Char(
string='Secret Code',
default=lambda s: pyotp.random_base32(),
required=True,
)
Expand Down
4 changes: 2 additions & 2 deletions auth_totp/wizards/res_users_authenticator_create.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
<sheet>
<div>
<span>Please provide a name for your app/device. </span>
<span>Then scan the QR code below to add this account to your authenticator app and enter in the six digit code produced by the app.</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"/>
<field name="secret_key" invisible="1"/>
</group>
</sheet>
<footer>
Expand Down

0 comments on commit 813e9fd

Please sign in to comment.