mirror of
https://github.com/jfmcbrayer/brutaldon
synced 2025-01-11 06:28:08 +01:00
267e94077f
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.
10 lines
306 B
Python
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())
|
|
|