translator_directory.forms.login

Classes

LoginForm

A generic login form for onegov.user

Module Contents

class translator_directory.forms.login.LoginForm(formdata: MultiDict[str, Any] | None = None, obj: object | None = None, prefix: str = '', data: dict[str, Any] | None = None, meta: dict[str, Any] | None = None, *, extra_filters: Mapping[str, Sequence[Any]] | None = None, **kwargs: Any)[source]

Bases: onegov.user.forms.LoginForm

A generic login form for onegov.user

property login_data: onegov.user.forms.login.LoginData[source]

Skips auth providers for school users are just indexed by the LDAP but not can bot be logged in to. The are authenticated with the user and password in our database, so we pass skip_providers to the login data.