[COMPONENT][Feed] Correct queries and introduce new feeds
Refactor feeds and search to use a common query builder
This commit is contained in:
@@ -52,7 +52,7 @@ class Security extends Controller
|
||||
{
|
||||
// Skip if already logged in
|
||||
if ($this->getUser()) {
|
||||
return $this->redirectToRoute('main_all');
|
||||
return $this->redirectToRoute('root');
|
||||
}
|
||||
|
||||
// get the login error if there is one
|
||||
@@ -150,10 +150,10 @@ class Security extends Controller
|
||||
$actor = Actor::create([
|
||||
'nickname' => $nickname,
|
||||
'is_local' => true,
|
||||
'type' => Actor::PERSON,
|
||||
'roles' => UserRoles::USER,
|
||||
'type' => Actor::PERSON,
|
||||
'roles' => UserRoles::USER,
|
||||
]);
|
||||
$user = LocalUser::create([
|
||||
$user = LocalUser::create([
|
||||
'nickname' => $nickname,
|
||||
'outgoing_email' => $data['email'],
|
||||
'incoming_email' => $data['email'],
|
||||
|
Reference in New Issue
Block a user