forked from wallabag/wallabag
correct a bug when email was not sended when creating a new user
This commit is contained in:
@ -116,7 +116,7 @@ class Routing
|
|||||||
// update password
|
// update password
|
||||||
$this->wallabag->updatePassword($_POST['password'], $_POST['password_repeat']);
|
$this->wallabag->updatePassword($_POST['password'], $_POST['password_repeat']);
|
||||||
} elseif (isset($_GET['newuser'])) {
|
} elseif (isset($_GET['newuser'])) {
|
||||||
$this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser']);
|
$this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser'], $_POST['newuseremail']);
|
||||||
} elseif (isset($_GET['deluser'])) {
|
} elseif (isset($_GET['deluser'])) {
|
||||||
$this->wallabag->deleteUser($_POST['password4deletinguser']);
|
$this->wallabag->deleteUser($_POST['password4deletinguser']);
|
||||||
} elseif (isset($_GET['epub'])) {
|
} elseif (isset($_GET['epub'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user