Bug 16892: Address error checking in comment #47
authorMark Tompsett <mtompset@hotmail.com>
Fri, 28 Jul 2017 15:45:20 +0000 (11:45 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Aug 2017 13:51:25 +0000 (10:51 -0300)
commit8ed19fedcad419c6a639b7daa03bb3533f5798e0
treefdd4fd3f438615c39f1a68567f69f8f769e87688
parent88f616277a8b11edadb66d01bf4b33a6c99641b7
Bug 16892: Address error checking in comment #47

Tweaked logic to include error check for category
and branch being valid. If not, the user is told
about a configuration error to share with the
library. Otherwise, it should proceed as normal.

TEST PLAN is comment #35 still.
Though include a run with an invalid category
and/or branch code in the two system preferences:
GoogleOpenIDConnectDefaultBranch and/or
GoogleOpenIDConnectDefaultCategory

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
opac/svc/auth/googleopenidconnect