<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Login popup: prevent maximization</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112146624" />
  <subtitle>Login popup: prevent maximization</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112146624</id>
  <updated>2026-08-02T11:15:18Z</updated>
  <dc:date>2026-08-02T11:15:18Z</dc:date>
  <entry>
    <title>RE: Login popup: prevent maximization</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113071001" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113071001</id>
    <updated>2019-04-08T16:09:03Z</updated>
    <published>2019-04-08T16:09:03Z</published>
    <summary type="html">Well, it is hardcoded somewhere.&lt;br /&gt;&lt;br /&gt;I think I did something really dastardly like cutting the maximize parameter away from the url/request. I am not sure anymore, it was a long time ago, but I believe I &amp;#34;fixed&amp;#34; the url somehow in a reverse proxy.&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t remember the process anymore, maybe you could also fix the url with javascript.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-04-08T16:09:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Login popup: prevent maximization</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113047314" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113047314</id>
    <updated>2019-04-07T17:24:40Z</updated>
    <published>2019-04-07T17:24:40Z</published>
    <summary type="html">I had it, once. I don&amp;#39;t remember, how I solved it, but I got somehow rid of the maximize flag in the url.&lt;br /&gt;But most of the time, my customers don&amp;#39;t use the standard login at all.&lt;br /&gt;&lt;br /&gt;In the last couple of years, I had three customers, who have a single sign on system in place and we integrated Liferay into that system. Two use NTLM. Two others were fine with the standard login behavior.&lt;br /&gt;&lt;br /&gt;For one recent customer, we hooked the login portlet and actually completely replaced the login function with rest calls. We just hooked it to have our login in place, when people try to access secured resources.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-04-07T17:24:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Login popup: prevent maximization</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113046786" />
    <author>
      <name>Philip Teagle</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113046786</id>
    <updated>2019-04-07T11:30:42Z</updated>
    <published>2019-04-07T11:30:42Z</published>
    <summary type="html">How did you end up preventing maximization?   Liferay seems to randomly display the login portlet maximized and sometimes modal for me.</summary>
    <dc:creator>Philip Teagle</dc:creator>
    <dc:date>2019-04-07T11:30:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Login popup: prevent maximization</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112193313" />
    <author>
      <name>Sofia P</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112193313</id>
    <updated>2019-01-31T15:45:51Z</updated>
    <published>2019-01-31T15:45:51Z</published>
    <summary type="html">Ok I discovered how to prevent the maximization. But setting WindowState to normal still closes the popup. I also tried to set WindowState to exclusive as popup has this state, but this just makes everything look completely crazy.&lt;br /&gt;&lt;br /&gt;I can not believe that no-one else haven&amp;#39;t had this problem. What am I doing wrong? Please help.</summary>
    <dc:creator>Sofia P</dc:creator>
    <dc:date>2019-01-31T15:45:51Z</dc:date>
  </entry>
  <entry>
    <title>Login popup: prevent maximization</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112146623" />
    <author>
      <name>Sofia P</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112146623</id>
    <updated>2019-01-26T19:23:58Z</updated>
    <published>2019-01-26T19:23:58Z</published>
    <summary type="html">&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am using Liferay 7 to build an app. I need to display the login
  dialog in a modal and have done so in main.js:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;
'liferay-sign-in-modal',
function(A) {
    var signIn = A.one('.sign-in &amp;gt; a');

    if (signIn) {
        signIn.plug(Liferay.SignInModal);
    }
}&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Problem is that when user inputs wrong credentials, window is
  maximized and error messages are displayed. Is it possible to prevent
  this maximization and display errors in popup? I've been trying to
  modify the login.jsp file and search the web for help and haven't had
  any success. Any hints?&lt;/p&gt;</summary>
    <dc:creator>Sofia P</dc:creator>
    <dc:date>2019-01-26T19:23:58Z</dc:date>
  </entry>
</feed>
