Diff of /plugins/password-sha1.php [6591d4] .. [f595f9] Maximize Restore

  Switch to side-by-side view

--- a/plugins/password-sha1.php
+++ b/plugins/password-sha1.php
@@ -18,8 +18,8 @@
 		$this->login = $login;
 		$this->passwordSha1 = $passwordSha1;
 		$this->credentials = $credentials;
-		if (isset($_POST["password"])) {
-			$_POST["password"] = sha1($_POST["password"]);
+		if (isset($_POST["auth"])) {
+			$_POST["auth"]["password"] = sha1($_POST["auth"]["password"]);
 		}
 	}
 	
@@ -32,7 +32,7 @@
 	}
 	
 	function permanentLogin() {
-		//! should save original $_POST["password"] and hash after load
+		//! should save original $_POST["auth"]["password"] and hash after load
 	}
 	
 }