From fd1ce99ea19532197b299d1f9b7dff6884dababf Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 29 Apr 2014 12:13:02 +0200 Subject: [PATCH] MT#6789 Don't clear old password on pwd reset. --- lib/NGCP/Panel/Controller/Subscriber.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/NGCP/Panel/Controller/Subscriber.pm b/lib/NGCP/Panel/Controller/Subscriber.pm index 10aa4daca0..5415a9c998 100644 --- a/lib/NGCP/Panel/Controller/Subscriber.pm +++ b/lib/NGCP/Panel/Controller/Subscriber.pm @@ -557,9 +557,6 @@ sub reset_webpassword :Chained('base') :PathPart('resetwebpassword') :Args(0) { try { my $schema = $c->model('DB'); $schema->txn_do(sub { - $subscriber->provisioning_voip_subscriber->update({ - webpassword => undef, - }); my ($uuid_bin, $uuid_string); UUID::generate($uuid_bin); UUID::unparse($uuid_bin, $uuid_string);