protected function getLoginUrl(UserInterface $user)
    {
        $token = new UsernamePasswordToken($user, 'none', 'none', $user->getRoles());
        if ($this->accessDecisionManager->decide($token, ['ROLE_ADMIN'])) {
            return $this->router->generate('ekyna_admin_security_login', [], UrlGeneratorInterface::ABSOLUTE_URL);
        } else if ($this->config['account']['enable']) {
            return $this->router->generate('fos_user_security_login', [], UrlGeneratorInterface::ABSOLUTE_URL);
        }
        return null;
    }