Source code for org.forms.mtan

from onegov.form.fields import HoneyPotField
from onegov.user.forms import MTANForm
from onegov.user.forms import RequestMTANForm


[docs] class PublicMTANForm(MTANForm): """ The base MTAN form extended with a ``HoneyPotField``. """
[docs] duplicate_of = HoneyPotField( render_kw={ 'autocomplete': 'lazy-wolves' } )
[docs] class PublicRequestMTANForm(RequestMTANForm): """ The base request MTAN form extended with a ``HoneyPotField``. """
[docs] duplicate_of = HoneyPotField( render_kw={ 'autocomplete': 'lazy-wolves' } )