A generic login form for onegov.user


handle_login(→ RenderData | Response)

Module Contents

class fsi.views.login.FsiLoginForm(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.

fsi.views.login.handle_login(self: onegov.user.Auth, request: onegov.fsi.request.FsiRequest, form: FsiLoginForm) RenderData | Response[source]