Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Redirect to Twitter when signin doesn't work #13

Merged
merged 1 commit into from
Apr 30, 2014

Conversation

harmjanh
Copy link
Contributor

@harmjanh harmjanh commented Oct 4, 2013

For a vague reason the redirect to Twitter didn't work when I wanted to signin a user. The page stayed blank but accessed the method for redirect. When I added die() after the header('location') it worked.

@MrAtiebatie
Copy link

+1 I had the same problem but an exit; after the header('location') worked. Always use an exit or die after a header location for save redirects.

tijsverkoyen added a commit that referenced this pull request Apr 30, 2014
Redirect to Twitter when signin doesn't work
@tijsverkoyen tijsverkoyen merged commit a0f67e1 into tijsverkoyen:master Apr 30, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants