If you forget or lose your Liferay Admin user and have access to your
Liferay Schema / Database, you can execute the below query to reset your
password.
Note: You will have to restart the server for the changes to take place.
emailaddress should be the email Address of the Admin User.
Note: You will have to restart the server for the changes to take place.
UPDATE user_ SET password_ = '1234', passwordEncrypted = '0', passwordReset = '1', status = 0 WHERE emailaddress = 'test@liferay.com';
password_ is the new password that you are setting. You can use this to log in with the Admin credentials.emailaddress should be the email Address of the Admin User.
No comments:
Post a Comment