svn commit: r600871 - /lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/content/ac/login.xsp

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Dec  4 02:38:24 2007
New Revision: 600871

URL: http://svn.apache.org/viewvc?rev=600871&view=rev
Log:
Clear access control error messages after displaying them

Modified:
    lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/content/ac/login.xsp

Modified: lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/content/ac/login.xsp
URL: http://svn.apache.org/viewvc/lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/content/ac/login.xsp?rev=600871&r1=600870&r2=600871&view=diff
==============================================================================
--- lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/content/ac/login.xsp (original)
+++ lenya/branches/branch_1_2_x_shibboleth/src/webapp/lenya/content/ac/login.xsp Tue Dec  4 02:38:24 2007
@@ -74,6 +74,7 @@
          Message[] messages = (Message[]) session.getAttribute(names[i]);
          if (messages != null) {
              errors.addAll(Arrays.asList(messages));
+             session.removeAttribute(names[i]);
          }
       }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.