This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/core/forms/users.py

16 lines
297 B
Python
Raw Normal View History

"""passbook core user forms"""
from django import forms
from passbook.core.models import User
class UserDetailForm(forms.ModelForm):
"""Update User Details"""
class Meta:
model = User
2019-12-31 11:51:16 +00:00
fields = ["username", "name", "email"]
widgets = {"name": forms.TextInput}