Skip to content

Commit 7059920

Browse files
committed
Fix redirect url
1 parent 99992f8 commit 7059920

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/travis/api/app/endpoint/authorization.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,7 @@ def clear_state_cookies
270270

271271
def handle_invalid_response
272272
clear_state_cookies
273-
back_url = headers['Referer'] || Travis.config.host
274-
redirect to(back_url)
273+
redirect to(Travis.config.host)
275274
end
276275

277276
def create_state

0 commit comments

Comments
 (0)