From 1020dac13e989a474a1e9ff92703a41d09ec24d8 Mon Sep 17 00:00:00 2001 From: christopherm Date: Tue, 21 Nov 2006 05:44:16 +0000 Subject: adding missing single quote for Mr. O'Hare git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@676 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Session/DB.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LedgerSMB/Session') diff --git a/LedgerSMB/Session/DB.pm b/LedgerSMB/Session/DB.pm index f75be4b5..f69418cd 100755 --- a/LedgerSMB/Session/DB.pm +++ b/LedgerSMB/Session/DB.pm @@ -78,7 +78,7 @@ sub session_check { my ($sessionLogin, $sessionTransaction) = $checkQuery->fetchrow_array; my $login = $form->{login}; - $login =~ s/[^a-zA-Z0-9._+@-]//g; + $login =~ s/[^a-zA-Z0-9._+@'-]//g; if(($sessionLogin eq $login) and ($sessionTransaction eq $transactionID)){ @@ -214,7 +214,7 @@ sub password_check { my ($form, $username, $password) = @_; - $username =~ s/[^a-zA-Z0-9._+@-]//g; + $username =~ s/[^a-zA-Z0-9._+@'-]//g; # use the central database handle my $dbh = ${LedgerSMB::Sysconfig::GLOBALDBH}; -- cgit v1.2.3