summaryrefslogtreecommitdiff
path: root/www/register.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-25 19:32:48 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-25 19:32:48 +0000
commit09fffebffe9ab1cf7622aa141150157b0746e20d (patch)
treeaf3767fbc293d64c56c7dcf54c584b72cca8195f /www/register.php
parentb38d876fad5d2ba080a87f9667dea4a3a1cca7f5 (diff)
downloadsemanticscuttle-09fffebffe9ab1cf7622aa141150157b0746e20d.tar.gz
semanticscuttle-09fffebffe9ab1cf7622aa141150157b0746e20d.tar.bz2
test if deleting bookmarks works. to do this, we need a new testbase method to create users, plus we need to return the uid when creating a new user. registration process needs to be adopted to that.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@417 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'www/register.php')
-rw-r--r--www/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/register.php b/www/register.php
index 6a0e1be..379dec4 100644
--- a/www/register.php
+++ b/www/register.php
@@ -60,7 +60,7 @@ if (POST_SUBMITTED != '') {
$tplVars['error'] = T_('Antispam answer is not valid. Please try again.');
// Register details
- } elseif ($userservice->addUser($posteduser, POST_PASS, POST_MAIL)) {
+ } elseif ($userservice->addUser($posteduser, POST_PASS, POST_MAIL) !== false) {
// Log in with new username
$login = $userservice->login($posteduser, POST_PASS);
if ($login) {