'retrieve the module config (which features are enabled) for the login page'

def get_auth_signup_config(self):

    IrConfigParam = request.env['ir.config_parameter']
    return {'signup_enabled': (IrConfigParam.sudo().get_param('auth_signup.allow_uninvited') == 'True'), 'reset_password_enabled': (IrConfigParam.sudo().get_param('auth_signup.reset_password') == 'True')}
