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
commit1020dac13e989a474a1e9ff92703a41d09ec24d8 (patch)
tree71fa39a55b5d31d85bcefe710f2756e188cd006b /LedgerSMB
parentfcca8f01242823871f20c8dc7c8fdabae40fa449 (diff)
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
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};