Skip to content
Browse files

* Remove redundant checks for SHA module.

  • Loading branch information...
1 parent b62cf1c commit b0f7979149fa04782c7f250b5e5ec1512d4f7bd5 Mike Heins committed
Showing with 0 additions and 12 deletions.
  1. +0 −12 lib/Vend/UserDB.pm
View
12 lib/Vend/UserDB.pm
@@ -34,18 +34,6 @@ no warnings qw(uninitialized numeric);
my $ready = new Vend::Safe;
-my $HAVE_SHA;
-
-eval {
- require Digest::SHA;
- import Digest::SHA;
- $HAVE_SHA = 1;
-};
-
-if ($@) {
- ::logGlobal("SHA passwords disabled: $@");
-}
-
# The object encryption methods take three arguments: object, password, and
# mystery meat. If called in the context of new_account(), the mystery meat
# is the salt (which is not always used). If called in the context of

0 comments on commit b0f7979

Please sign in to comment.
Something went wrong with that request. Please try again.