From d363fee4dd129cbd4890614a486cdaf5fd79be24 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 05 Sep 2011 10:16:27 -0400
Subject: [PATCH] Fixed login problem when password contains '

---
 interface/web/login/index.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/login/index.php b/interface/web/login/index.php
index 9216f79..c5ab324 100644
--- a/interface/web/login/index.php
+++ b/interface/web/login/index.php
@@ -122,7 +122,7 @@
 								//* The password is crypt-md5 encrypted
 								$salt = '$1$'.substr($saved_password,3,8).'$';
 								
-								if(crypt($passwort,$salt) != $saved_password) {
+								if(crypt(stripslashes($passwort),$salt) != $saved_password) {
 									$user = false;
 								}
 							} else {

--
Gitblit v1.9.1