Bug ID: 19373
Summary: CAS Login for staff interface always go back to home.
Change sponsored?: ---
Priority: P5 - low
Assignee: [hidden email] Reporter: [hidden email] QA Contact: [hidden email] CC: [hidden email]
When I'm disconnected from the staff interface for inactivity, I noticed that
CAS login always go back to homepage while local login sends me to the correct
page (for example a borrower page).
When I checked the CAS login URL, I see that the service part is composed of
the base url followed-up directly by the query part of the page. The script
part is absent. Then, I checked C4/Auth_with_cas.pm and see in the sub
_url_with_get_params that get_script_name() is only called for the OPAC login.
Is there a specific reason for that or can we call get_script_name() for both
--- Comment #5 from Marcel de Rooy <[hidden email]> ---
not ok 4 - Intranet URL should be returned when using intranet login (Bug
# Failed test 'Intranet URL should be returned when using intranet login (Bug
# at t/db_dependent/Auth_with_cas.t line 62.
# got: 'localhost:8080/cgi-bin/koha/opac-user.pl?bar=baz'
# expected: 'localhost:8080?bar=baz'