Last active
November 18, 2021 10:06
-
-
Save jverweijL/936234613cf4c0505a23ec5353e2a1fb to your computer and use it in GitHub Desktop.
reset admin password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE User_ | |
SET password_ = 'temporarypassword',passwordEncrypted = 0, passwordReset = 1 | |
WHERE emailAddress = 'test@liferay.com'; | |
# Restart the Liferay Services. This will allow you to log in once with your own set password. Liferay will ask you to set a new password and that’s all. You have succesfully regained control! Your password will automatically become encrypted again in the database, so no need to worry about that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment