Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs

[interchange] always use default encryption method for global AdminUser (problem found by Rok Ružič)

 

 

Interchange cvs RSS feed   Index | Next | Previous | View Threaded


interchange-cvs at icdevgroup

Mar 6, 2010, 2:47 AM

Post #1 of 1 (208 views)
Permalink
[interchange] always use default encryption method for global AdminUser (problem found by Rok Ružič)

commit 5919702a7e69de6b763d3bc48a5293d6a31c6c90
Author: Stefan Hornburg (Racke) <racke [at] linuxia>
Date: Sat Mar 6 11:45:33 2010 +0100

always use default encryption method for global AdminUser (problem found by Rok Ružič)

lib/Vend/UserDB.pm | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/Vend/UserDB.pm b/lib/Vend/UserDB.pm
index c7e458a..a0a9953 100644
--- a/lib/Vend/UserDB.pm
+++ b/lib/Vend/UserDB.pm
@@ -1397,7 +1397,10 @@ sub login {
$test = $self->{PASSWORD};
}
else {
+ my $sub = $self->{ENCSUB};
+ $self->{ENCSUB} = $enc_subs{default};
$test = $self->do_crypt($self->{PASSWORD}, $adminpass);
+ $self->{ENCSUB} = $sub;
}
if ($test eq $adminpass) {
$user_data = {};

Interchange cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.