Foren

Locked out of Liferay

Harper Chalat, geändert vor 8 Jahren.

Locked out of Liferay

New Member Beiträge: 5 Beitrittsdatum: 10.08.15 Neueste Beiträge
I recently attempted to change the manner in which Liferay attempts to authenticate users from authenticating by email to authenticating by User ID. I forgot to write down the admin user ID, so now I can no longer access the control panel to change it back. I have tried adding company.security.auth.type=emailAddress to my portal-ext.properties file, but that did not work, even after restarting the server.

Any help would be greatly appreciated, or if I need to provide additional information, please let me know. I am using Liferay 6.2 ga4 Community Edition with Tomcat 7.0.42
thumbnail
Samuel Kong, geändert vor 8 Jahren.

RE: Locked out of Liferay

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Try looking up the userId in the database.
SELECT userId FROM user_ WHERE emailAddress='test@example.com';