mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
437 B
21 lines
437 B
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
use Movim\Controller\Base;
|
|
|
|
class AccountController extends Base
|
|
{
|
|
public function dispatch()
|
|
{
|
|
if (\App\Configuration::get()->disableregistration) {
|
|
$this->redirect('login');
|
|
}
|
|
|
|
if ($this->user) {
|
|
requestAPI('disconnect', post: ['sid' => $this->user->session->id]);
|
|
}
|
|
|
|
$this->page->setTitle(__('page.account_creation'));
|
|
}
|
|
}
|