avoinministerio/avoinministerio — pull request #180 by jyrkive (2012-07-03 13:48:00+00:00)
Title: Fix Facebook auth

See https://www.avoinministerio.fi/kansalaiset/auth/facebook - it's just an error message.

It is caused by the fact that OmniAuth's request_path is "/citizens/auth/facebook", but the path of the above page is "/kansalaiset/auth/facebook". They don't match and therefore OmniAuth "thinks" that the page does not need OmniAuth authentication.

This commit changes request_path to "/kansalaiset/auth/facebook", fixing the issue.