Commit 20574fa8 authored by Donal McMullan's avatar Donal McMullan

Fully specify Exception

parent 7350a50f
......@@ -70,8 +70,9 @@ function start_jump_session($peer, $instanceid, $wantsurl="") {
}
if (false == $approved) {
throw new Exception('Host not approved for sso');
//TODO: specify exception properly
// This shouldn't happen: the user shouldn't have been presented with
// the link
throw new SystemException('Host not approved for sso');
}
// set up the session
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment