2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2025-01-11 06:28:08 +01:00
brutaldon-interfaccia-web-m.../brutaldon/forms.py
Jason McBrayer 267e94077f Add multiuser support
Currently, this uses anonymous sessions. You log in to your instance, and you
get associated with a session. Your client information and account information
are persisted (created only if needed, reattached if not). Passwords are never
stored, only access tokens.
2018-04-24 14:53:05 -04:00

10 lines
306 B
Python

from django import forms
class LoginForm(forms.Form):
instance = forms.CharField(label="Instance",
max_length=256)
username = forms.CharField(label="Email",
max_length=256)
password = forms.CharField(widget=forms.PasswordInput())