-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e251ba5
commit a2e69c0
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<?php | ||
require_once("functions.php"); | ||
$whack = new Whack(); | ||
$whack->confirmUser($_GET['user'], $_GET['code']); | ||
echo("worked"); | ||
$success = $whack->confirmUser($_GET['user'], $_GET['code']); | ||
if (!$success) { | ||
die("Invalid confirmation code."); | ||
} | ||
header("Location: /account"); | ||
die("Your email has been confirmed. You may now visit your account."); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters