DigitalCurationCentre/DMPonline_v4 — pull request #63 by pgmccann (2014-04-16 10:16:44+00:00)
Title: Fix for Shibboleth "visit IdP twice" bug

Authentication was occurring the first time the user selected their
institution, but they were then being redirected back to the IdP by the
“sign_in_and_redirect s_user, event: :authentication” line. The second
time they selected their institution, they were already authenticated
and were simply redirected. This fixes that, sending the user to the
root path after logging in via Shibboleth or to the edit profile page
after linking their account.