git.cweiske.de
/
gamestick-pjgsapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow direct access to success page
[gamestick-pjgsapi.git]
/
www
/
activate.php
diff --git
a/www/activate.php
b/www/activate.php
index 454c7e00419f91910dc270be88c252219b327b78..3bbcb1f1f7ec641814c2f05ab2c4ee99544eb473 100644
(file)
--- a/
www/activate.php
+++ b/
www/activate.php
@@
-16,6
+16,11
@@
if (isset($_REQUEST['code']) && trim($_REQUEST['code']) !== '') {
if ($profile === null) {
$error = 'Invalid code';
}
+
+ if ($code === 'success') {
+ require $tplDir . '/activate-success.phtml';
+ exit();
+ }
}
if ($profile === null) {