From 29cab289243d32b9d94b7da83c9e7344a8458a33 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Fri, 12 Jul 2019 16:29:20 +0200 Subject: [PATCH] TT#62802 fix LI soap rail saltedpass migration Change-Id: Ied87aa49532dc5f5eb04a8e97dc6d3c63b38379e (cherry picked from commit 79b92414811ec20d36e65489b1365beafd8d4fb0) --- lib/NGCP/Panel/Controller/SOAP/Intercept.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Controller/SOAP/Intercept.pm b/lib/NGCP/Panel/Controller/SOAP/Intercept.pm index dcd5524601..c69af3c5bf 100644 --- a/lib/NGCP/Panel/Controller/SOAP/Intercept.pm +++ b/lib/NGCP/Panel/Controller/SOAP/Intercept.pm @@ -102,7 +102,7 @@ sub _auth { # migrate password to bcrypt $admin->update({ md5pass => undef, - saltedpass => NGCP::Panel::Utils::Admin::get_salted_hash($auth->{password}), + saltedpass => NGCP::Panel::Utils::Admin::generate_salted_hash($auth->{password}), }); }