X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1c385c602908735c3be266b1470b301050650fd3..217d32f3531a3565d647a1cfd0f3deb9b9ec1365:/SL/Auth.pm diff --git a/SL/Auth.pm b/SL/Auth.pm index 5f3c65dd8..9398f557b 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -174,10 +174,7 @@ sub store_credentials_in_session { sub store_root_credentials_in_session { my ($self, $rpw) = @_; - $rpw = SL::Auth::Password->hash_if_unhashed(login => 'root', password => $rpw) - unless $self->{authenticator}->requires_cleartext_password; - - $self->set_session_value(rpw => $rpw); + $self->set_session_value(rpw => SL::Auth::Password->hash_if_unhashed(login => 'root', password => $rpw)); } sub dbconnect { @@ -858,7 +855,6 @@ sub all_rights_full { ["customer_vendor_edit", $locale->text("Create and edit customers and vendors")], ["part_service_assembly_edit", $locale->text("Create and edit parts, services, assemblies")], ["project_edit", $locale->text("Create and edit projects")], - ["license_edit", $locale->text("Manage license keys")], ["--ar", $locale->text("AR")], ["sales_quotation_edit", $locale->text("Create and edit sales quotations")], ["sales_order_edit", $locale->text("Create and edit sales orders")],