This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
ifef-registration/extra/modules/configuration.py

16 lines
609 B
Python

from authentic.schemas.schema import *
import authentic.admin.configuration as configuration
presentation_args = { 'cols': 80, 'rows': 25 }
for schema in (String('xmlrpc_registration_url',
N_('XMLRPC Neogia registration URL'),
default = '',
allow_none=True,
presentation_hint = { 'args': { 'size': 100 }}),
String('erp_secret',
N_('Shared secret with the ERP'),
default = '',
allow_none=True,
presentation_hint = { 'args': { 'size': 100 }}),):
configuration.identity_configuration.add_schema(schema)