summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authorchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-21 05:44:16 +0000
committerchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-21 05:44:16 +0000
commitd6366b9751425439eb662a5b2a6daf72116798c5 (patch)
treee75321f156fd81c3300906b483123324fa9bd130 /LedgerSMB
parent4380e21c81cb00190bb2b0591cf10fdf2ad8238e (diff)
adding missing single quote for Mr. O'Hare
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@676 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Session/DB.pm4
1 files changed, 2 insertions, 2 deletions
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};