1
0
mirror of https://gitlab.com/brutaldon/brutaldon synced 2025-06-05 21:49:32 +02:00

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.
This commit is contained in:
Jason McBrayer
2018-04-24 14:49:43 -04:00
parent 5c48180a7c
commit 267e94077f
5 changed files with 62 additions and 19 deletions

View File

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