Last active
May 23, 2017 14:54
-
-
Save topolik/c114493aea72cae9054cabb2af18056d to your computer and use it in GitHub Desktop.
Liferay sign-in bookmark
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 = "data:text/html,<h1 id=msg>signing out ...</h1><img style=display:none src="+Liferay.ThemeDisplay.getPortalURL()+"/c/portal/logout onerror='msg.innerText=\"signing in ...\";document.forms[0].submit()'><form style=display;none method=post action='"+Liferay.ThemeDisplay.getPortalURL()+"/c/portal/login?login="+ encodeURIComponent(xaf.split(':')[0] + '@liferay.com') + '&redirect=' + encodeURIComponent(Liferay.currentURL)+"'/><input name=password value='"+xaf.split(':')[1]+"'/></form>") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment