mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 03:25:51 +02:00
Add logic to add new user account
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user