Re: email login, create and save

2018-05-04 Thread Collin Anderson
Do you want something like this? class EmailUserCreationForm(UserCreationForm): username = User._meta.get_field('username').formfield(label='Email', validators=[validators.validate_email]) def save(self, commit=True): self.instance.email = self.cleaned_data['username'] ret

Re: Proposal: security enhancements

2018-05-04 Thread Tom Forbes
Hey James, I think these ideas are fantastic. I used EmberJS for a project and the development server contained a built in CSP report URL which just printed what the browser sent to the console. This was very useful during development as you could immediately see CSP errors that were triggered ra

email login, create and save

2018-05-04 Thread Ali A Cetrefli
Dear developers, Please make new email UserCreateFormbyEmail, UserAuthenticatebyEmail I know, You have many custom authentication methods, but nature of internet in signup forms is by email not username.. best regards.. -- You received this message because you are subscribed to the Google Gro