Don't produce poisons when logged.
[platal.git] / htdocs / javascript / do_challenge_response_logged.js
index 8a28ca6..29fc83c 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *  Copyright (C) 2003-2010 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -20,7 +20,7 @@
 
 function doChallengeResponse() {
     var new_pass = hash_encrypt(document.forms.login.password.value);
-    
+
     str = document.forms.loginsub.username.value + ":" +
         hash_encrypt(document.forms.login.password.value) + ":" +
         document.forms.loginsub.challenge.value;