user profile, editing and more statistics
This commit is contained in:
@@ -57,7 +57,7 @@ class UserRepository extends EntityRepository
|
||||
|
||||
public function findByUsername($username)
|
||||
{
|
||||
return $this->findOneBy(['']);
|
||||
return $this->findOneBy(['username' => $username]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user