diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-02-13 19:39:48 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-02-13 19:39:48 +0100 |
commit | f2321633b9dcc806b3c036a742bde1e4c9bcbef9 (patch) | |
tree | faa2120d3a458d124ac41bec8ff62f6b06035d1d /inc/poche/Routing.class.php | |
parent | 0eae6d14b8858005919cc3069799f77008a81d29 (diff) | |
download | wallabag-f2321633b9dcc806b3c036a742bde1e4c9bcbef9.tar.gz wallabag-f2321633b9dcc806b3c036a742bde1e4c9bcbef9.tar.zst wallabag-f2321633b9dcc806b3c036a742bde1e4c9bcbef9.zip |
couple improvements, translations
Diffstat (limited to 'inc/poche/Routing.class.php')
-rwxr-xr-x | inc/poche/Routing.class.php | 2 |
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'])) { |