From: Jakub Vrana Date: Sat, 1 Mar 2014 20:35:08 +0000 (-0800) Subject: Delete now useless plugin X-Git-Tag: v4.1.0~28 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=828a54deba591c573e285d1fd8ec8170b8e25880;p=adminer.git Delete now useless plugin --- diff --git a/plugins/password-sha1.php b/plugins/password-sha1.php deleted file mode 100644 index 27c07844..00000000 --- a/plugins/password-sha1.php +++ /dev/null @@ -1,39 +0,0 @@ -login = $login; - $this->passwordSha1 = $passwordSha1; - $this->credentials = $credentials; - if (isset($_POST["auth"])) { - $_POST["auth"]["password"] = sha1($_POST["auth"]["password"]); - } - } - - function login($login, $password) { - return ($login == $this->login && $password == $this->passwordSha1); - } - - function credentials() { - return $this->credentials; - } - - function permanentLogin() { - //! should save original $_POST["auth"]["password"] and hash after load - } - -}