Disable openlogin on CP version 3.6 mobile
Summary
Disabling open login generates error preventing users from signing on; severe loss of functionalityContent
We do not use PTA and wanted to disable openlogin signon on the mobile page.
We modified the template mobile.php and passed the two attributes
sub:login:open_login_providers=""
sub:login:create_account_fields=""
see code snippet.
However, we are getting an error :
"logic.js:166 Uncaught TypeError: Cannot read property 'FOOTER' of undefined
at child._createDialog (logic.js:166)"
We also tried extending the LoginDialog widget's java script and overriding the function _createDialog with the following lines commented out :
//width: '100%',
//height: '100%'
Tagged:
0