aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Routing.class.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-02-13 19:39:48 +0100
committerThomas Citharel <tcit@tcit.fr>2015-02-13 19:39:48 +0100
commitf2321633b9dcc806b3c036a742bde1e4c9bcbef9 (patch)
treefaa2120d3a458d124ac41bec8ff62f6b06035d1d /inc/poche/Routing.class.php
parent0eae6d14b8858005919cc3069799f77008a81d29 (diff)
downloadwallabag-f2321633b9dcc806b3c036a742bde1e4c9bcbef9.tar.gz
wallabag-f2321633b9dcc806b3c036a742bde1e4c9bcbef9.tar.zst
wallabag-f2321633b9dcc806b3c036a742bde1e4c9bcbef9.zip
couple improvements, translations
Diffstat (limited to 'inc/poche/Routing.class.php')
-rwxr-xr-xinc/poche/Routing.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php
index e9b67771..177b74d5 100755
--- a/inc/poche/Routing.class.php
+++ b/inc/poche/Routing.class.php
@@ -72,7 +72,7 @@ class Routing
72 Tools::logm('register'); 72 Tools::logm('register');
73 $tplFile = Tools::getTplFile('register'); 73 $tplFile = Tools::getTplFile('register');
74 } elseif (ALLOW_REGISTER && isset($_GET['register'])){ 74 } elseif (ALLOW_REGISTER && isset($_GET['register'])){
75 $this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser']); 75 $this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser'], $_POST['newuseremail']);
76 Tools::redirect(); 76 Tools::redirect();
77 } elseif(isset($_SERVER['PHP_AUTH_USER'])) { 77 } elseif(isset($_SERVER['PHP_AUTH_USER'])) {
78 if($this->wallabag->store->userExists($_SERVER['PHP_AUTH_USER'])) { 78 if($this->wallabag->store->userExists($_SERVER['PHP_AUTH_USER'])) {