Hi, we are now 2-factor authentication. When an account is added to the mobile authentication app, 'EspoCRM' will be shown, user has to update this tag if there are accounts of multiple EspoCRM servers. Is there any way to customize this tag for different EspoCRM server? Thanks.
Announcement
Collapse
No announcement yet.
Customize the default name shown in authentication app (2-factor authentication)
Collapse
X
-
To change the issuer (application name), 2 files have to be created
1.copy client\src\views\user-security\modals\totp.js to client\custom\src\views\user-security\modals\totp.js
update afterRender: function (), set the issuer in otpauth uri
2. copy application\Espo\Resources\metadata\app\auth2FAMet hods.json to custom\Espo\Custom\Resources\metadata\app\auth2FAM ethods.json
update
"userApplyView": "views/user-security/modals/totp"
to
"userApplyView": "custom:views/user-security/modals/totp"
- Likes 1
-
In 5.8.3 it's changed. Label is returned by backend.https://github.com/espocrm/espocrm/b...urity.php#L225
Comment
Comment