Browse Source

Applied qoutemeta patch

lbergman 24 years ago
parent
commit
c8f8097c29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/redirect.php

+ 1 - 1
src/redirect.php

@@ -54,7 +54,7 @@
       do_hook ("login_before");
 
       $onetimepad = OneTimePadCreate(strlen($secretkey));
-      $key = OneTimePadEncrypt($secretkey, $onetimepad);
+      $key = OneTimePadEncrypt(qoutemeta($secretkey), $onetimepad);
       session_register("onetimepad");
       // verify that username and password are correct
       $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);