掲示板

HELP !! Locked myself out of liferay 6.1 (Please enter your verification co

11年前 に Johan de jong によって更新されました。

HELP !! Locked myself out of liferay 6.1 (Please enter your verification co

Junior Member 投稿: 41 参加年月日: 12/02/06 最新の投稿
I just locked my admin account within liferay 6.1.

The system is now requesting met to fill in the verification code, but since the system is on a closed LAN without a mailserver, the mail will never be sent.

Is there anyway to override the "verification code" inside the database or somewhere else?
11年前 に Johan de jong によって更新されました。

RE: HELP !! Locked myself out of liferay 6.1 (Please enter your verificatio

Junior Member 投稿: 41 参加年月日: 12/02/06 最新の投稿
Ok, problem solved by myself already.

The workaround was:
1. shutdown Liferay
2. open database
3. go to PortalPreferences table.
[indent]If you have more than 1 domain active this wil get tricky emoticon[/indent]
4. search for a row which starts with something like "<portlet-preferences><preference><name>company.security.strangers.verify</name><value>true</value>"
5. Mention the value="TRUE" after this, change ONLY this true to false
6 save the row

7. to be sure go to table User_
8. find your useraccount
9. at the end of the row there is a column "`agreedToTermsOfUse` and a column `emailAddressVerified` 1 or all of theses will contain 0 values
10. change these columns to 1
11. save it.
12 restart liferay.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: HELP !! Locked myself out of liferay 6.1 (Please enter your verificatio

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
I'm not too sure how the changes you've made would actually unlock user account. When you said you've locked yourself out, was it from entering too many wrong password?
11年前 に Johan de jong によって更新されました。

RE: HELP !! Locked myself out of liferay 6.1 (Please enter your verificatio

Junior Member 投稿: 41 参加年月日: 12/02/06 最新の投稿
I locked myself out because of the following reasons:

  • the maildomain of the portal is different from my admin-account mailaddress
  • i selected "Require strangers to verify their email address? "under "portal settings" - "authentication"
  • when you have items 1 and 2 then you will be locked out a soon as you click the "save" button
  • the portal will asume you are a "stranger" and you will need to verify your emailaddress


This is of course only true when the portal is not capable of emailing you the new verification string.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: HELP !! Locked myself out of liferay 6.1 (Please enter your verificatio

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
If even the ominadmin is locked out, this is a bug. I'll have to check into it. Thanks for the information. :-)
11年前 に Johan de jong によって更新されました。

RE: HELP !! Locked myself out of liferay 6.1 (Please enter your verificatio

Junior Member 投稿: 41 参加年月日: 12/02/06 最新の投稿
It is very easy to reproduce:

+ log in as administrator with your own emailaccount (like admin@liferay.com)
+ go to Portal Settings - General and change "Mail Domain" to test.com
+ go to Portal Settings - Authentication and enable "Require strangers to verify their email address? "
+ click save
+ the portal will start asking you for the verication code.