mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
couple improvements, translations
This commit is contained in:
parent
0eae6d14b8
commit
f2321633b9
7 changed files with 14 additions and 5 deletions
|
@ -72,7 +72,7 @@ class Routing
|
|||
Tools::logm('register');
|
||||
$tplFile = Tools::getTplFile('register');
|
||||
} elseif (ALLOW_REGISTER && isset($_GET['register'])){
|
||||
$this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser']);
|
||||
$this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser'], $_POST['newuseremail']);
|
||||
Tools::redirect();
|
||||
} elseif(isset($_SERVER['PHP_AUTH_USER'])) {
|
||||
if($this->wallabag->store->userExists($_SERVER['PHP_AUTH_USER'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue