[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources: messages/authn-messages.properties views/login.vm

noreply at shibboleth.net noreply at shibboleth.net
Mon Nov 2 22:02:32 EST 2015


Author: scantor
Date: Mon Nov  2 22:02:32 2015
New Revision: 7919

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7919&view=rev
Log:
IDP-482 - Prevent repeated login attempts

Modified:
    trunk/idp-conf/src/main/resources/messages/authn-messages.properties
    trunk/idp-conf/src/main/resources/views/login.vm

Modified: trunk/idp-conf/src/main/resources/messages/authn-messages.properties
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/messages/authn-messages.properties?rev=7919&r1=7918&r2=7919&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/messages/authn-messages.properties	(original)
+++ trunk/idp-conf/src/main/resources/messages/authn-messages.properties	Mon Nov  2 22:02:32 2015
@@ -12,6 +12,7 @@
 idp.login.donotcache = Don't Remember Login
 
 idp.login.login = Login
+idp.login.pleasewait = Logging in, please wait...
 
 idp.login.forgotPassword = Forgot your password?
 idp.login.needHelp = Need Help?

Modified: trunk/idp-conf/src/main/resources/views/login.vm
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/views/login.vm?rev=7919&r1=7918&r2=7919&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/views/login.vm	(original)
+++ trunk/idp-conf/src/main/resources/views/login.vm	Mon Nov  2 22:02:32 2015
@@ -77,7 +77,9 @@
 
             #if ($passwordEnabled)
               <div class="form-element-wrapper">
-                <button class="form-element form-button" type="submit" name="_eventId_proceed">#springMessageText("idp.login.login", "Login")</button>
+                <button class="form-element form-button" type="submit" name="_eventId_proceed"
+                    onClick="this.innerHTML='#springMessageText("idp.login.pleasewait", "Logging in, please wait...")'"
+                    >#springMessageText("idp.login.login", "Login")</button>
               </div>
             #end
 



More information about the commits mailing list