Bug 17006: (follow-up) set_password expects a hashref

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Tomás Cohen Arazi 2019-01-28 12:37:54 -03:00 committed by Nick Clemens
parent ae1e6b558c
commit a7978a9e97

View file

@ -59,7 +59,7 @@ sub set {
return try {
## Change password
$patron->set_password($password);
$patron->set_password({ password => $password });
return $c->render( status => 200, openapi => "" );
}