Add logic to add new user account

This commit is contained in:
Matias Griese
2014-10-10 15:25:07 +03:00
parent fc16e20f59
commit 8d4d5957bb
3 changed files with 11 additions and 3 deletions

View File

@@ -380,7 +380,11 @@ class AdminController
*/
public function taskContinue()
{
// Only applies to pages.
if ($this->view == 'users') {
$this->setRedirect("{$this->view}/{$this->post['username']}");
return true;
}
if ($this->view != 'pages') {
return false;
}