Hey guys..
I tried for quite some time now but could not find how to override something like the /client/src/views/login.js
I have to override that, as I want to show a modal before logging in (something like 2F Auth).
Currently I have copied (and modified) it to client/custom/src/views/login.js
I also tried changing the tpl in here: client/custom/res/templates/login.tpl
I have read, that one usually creates a clientDef in /custom/Espo/Custom/Resources.. but there's no clientDef for login afaik..
only other reference to views/login seems to be in /client/src/controllers/base.js but changing that to "custom:views/login" does not seem to help either..
Do you have any clue how to override this, without breaking updatability?
Thanks!
Joachim
I tried for quite some time now but could not find how to override something like the /client/src/views/login.js
I have to override that, as I want to show a modal before logging in (something like 2F Auth).
Currently I have copied (and modified) it to client/custom/src/views/login.js
I also tried changing the tpl in here: client/custom/res/templates/login.tpl
I have read, that one usually creates a clientDef in /custom/Espo/Custom/Resources.. but there's no clientDef for login afaik..
only other reference to views/login seems to be in /client/src/controllers/base.js but changing that to "custom:views/login" does not seem to help either..
Do you have any clue how to override this, without breaking updatability?
Thanks!
Joachim
Comment