Created
April 7, 2016 12:51
-
-
Save topolik/4be628a3666f563826037067cc59ee52 to your computer and use it in GitHub Desktop.
Liferay bookmarks
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
javascript: (xaf = prompt('nickname (will be also passwd)', 'test2')) && Liferay.Service('/user/add-user', { companyId: Liferay.ThemeDisplay.getCompanyId(), autoPassword: false, password1: xaf, password2: xaf, autoScreenName: false, screenName: xaf, emailAddress: xaf + '@liferay.com', facebookId: 0, openId: '', locale: '', firstName: xaf, middleName: '', lastName: xaf, prefixId: 0, suffixId: 0, male: true, birthdayMonth: 0, birthdayDay: 1, birthdayYear: 1970, jobTitle: '', groupIds: null, organizationIds: null, roleIds: null, userGroupIds: null, sendEmail: false}, function(obj) {alert(JSON.stringify(obj));if (typeof(obj) == 'object') { location.href='/c/portal/logout?referer=' + encodeURIComponent('/c/portal/login?login='+xaf+'@liferay.com&password='+xaf);}}); |
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
javascript:(xaf = prompt('username:password', 'test:test')) && (location.href='/c/portal/logout?referer='+encodeURIComponent('/c/portal/login?login='+xaf.split(':')[0]+'@liferay.com&password='+xaf.split(':')[1]+'&redirect=' + encodeURIComponent(Liferay.currentURL))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment