Announcement
Collapse
No announcement yet.
Override secondStepView
Collapse
X
-
I'd recommend not to override views in themes as there's high chance of incompatibility after upgrade.
-
You should set your custom viewCode:let view = data.view || 'theme:views/login-second-step';
Leave a comment:
-
Originally posted by Kharg View PostAre you calling the second step view in your login view?
https://github.com/espocrm/espocrm/b.../login.js#L187
Leave a comment:
-
Override secondStepView
Hi,
Anybody knows how to override secondStepView? I've added the following to my theme:
\application\Espo\Modules\THEME\Resources\metadata \clientDefs\App.json
{
"loginView" : "theme:views/login",
"secondStepView" : "theme:views/login-second-step"
}
My login page is working but when I get redirected (MFA) to login-second-step it loads the original.Tags: None
Leave a comment: