]> git.koha-community.org Git - koha.git/commit
Bug 26595: Remove password from the smtp_server API object
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 14 Oct 2020 13:04:24 +0000 (10:04 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Oct 2020 13:53:38 +0000 (15:53 +0200)
commitbaabaceb32b3138829d9a9bfc20e8f8a6c8abd36
tree1339dc0a01d8d1b79704c84ce1cb53e164f268b4
parent8eb68c082a664d6aee10fd87ed6009a9a40bdbe3
Bug 26595: Remove password from the smtp_server API object

This patch makes the SMTP server objects do not include the password for
API representation. If we need the password itself, we can add a route
to retrieve it with specific permissions.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/SMTP/Server.pm
t/db_dependent/Koha/SMTP/Server.t