Commit bc37ff2b authored by Rafael Ravedutti's avatar Rafael Ravedutti

Redirect to front-end page when token is expired

Signed-off-by: Rafael Ravedutti's avatarRafael Ravedutti <rrlmachado@inf.ufpr.br>
parent 6909b57a
Pipeline #16730 passed with stages
in 4 minutes and 42 seconds
......@@ -91,7 +91,9 @@ module Api::V1
redirect_to(url)
else
render_edit_error
url = gen_url(params[:redirect_url] + "/invalid")
redirect_to(url)
end
end
......
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