Carl Zeiss GOM Metrology Posted February 16, 2021 Share Posted February 16, 2021 We run a self-hosted Invision community. This community is connected via an OAuth identity provider. Now we want to disable the default login method. Is there a way to turn it back on without accessing the AdminCP (e.g. in case the Identity Provider does not work anymore)? Thank you! Link to comment Share on other sites More sharing options...
Solution Kyle F Posted February 16, 2021 Solution Share Posted February 16, 2021 If you have access to phpMyAdmin you should be able to reactivate it through the database. To do this; login to phpMyAdmin -> (select DB) -> (in the Filters search type "login") -> Browse 'Core Login Methods'. Under "login_classnames" look for "IPS\Login\Handler\Standard" and click "Edit". Make sure "login_settings" says "{"auth_types":1}" and "login_enabled" show "1". Then "GO" to save. Report back here if it worked for you. If not, we'll try to help another way. Carl Zeiss GOM Metrology 1 Link to comment Share on other sites More sharing options...
Carl Zeiss GOM Metrology Posted February 17, 2021 Author Share Posted February 17, 2021 (edited) Thank you! The way you describe works partially. The login method can be reactivated via the changed database entry, but the GUI customizations are not changed. The login mask for local users is not automatically shown again. This happens only after the method has been deactivated and reactivated via the GUI. Do further changes have to be made in the database for this? Edited February 17, 2021 by GOM IT Link to comment Share on other sites More sharing options...
bfarber Posted February 17, 2021 Share Posted February 17, 2021 You probably need to also clear the datastore folder via FTP to clear caches. Carl Zeiss GOM Metrology and Kyle F 1 1 Link to comment Share on other sites More sharing options...
Carl Zeiss GOM Metrology Posted February 18, 2021 Author Share Posted February 18, 2021 Thanks both of you. It works! Daniel F 1 Link to comment Share on other sites More sharing options...
Recommended Posts