Allow account registration with invites.
This commit is contained in:
parent
e0a009a0f1
commit
48f7fd34a7
8 changed files with 111 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
''' usin django model forms '''
|
||||
from django.forms import ModelForm, PasswordInput
|
||||
from django.forms import ModelForm, PasswordInput, HiddenInput
|
||||
from django import forms
|
||||
|
||||
from fedireads import models
|
||||
|
@ -21,7 +21,7 @@ class RegisterForm(ModelForm):
|
|||
fields = ['username', 'email', 'password']
|
||||
help_texts = {f: None for f in fields}
|
||||
widgets = {
|
||||
'password': PasswordInput(),
|
||||
'password': PasswordInput()
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue