]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
correct a bug when email was not sended when creating a new user
authorThomas Citharel <tcit@tcit.fr>
Sat, 24 Jan 2015 13:35:03 +0000 (14:35 +0100)
committerThomas Citharel <tcit@tcit.fr>
Sat, 24 Jan 2015 13:35:03 +0000 (14:35 +0100)
inc/poche/Routing.class.php

index be06a433dce544c17a72c5d015a4b0f083348fe6..a8d00b89806435ada989e973cbeefb736fbf4804 100755 (executable)
@@ -116,7 +116,7 @@ class Routing
                 // update password
                 $this->wallabag->updatePassword($_POST['password'], $_POST['password_repeat']);
             } elseif (isset($_GET['newuser'])) {
-                $this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser']);
+                $this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser'], $_POST['newuseremail']);
             } elseif (isset($_GET['deluser'])) {
                 $this->wallabag->deleteUser($_POST['password4deletinguser']);
             } elseif (isset($_GET['epub'])) {