Re: Authentication backend - serialization

2017-06-08 Thread Alison P
", and everything works as it should be! Have a nice day! A. On Monday, June 5, 2017 at 1:33:28 PM UTC+2, Alison P wrote: > > Hi everyone, > > I have written a custom authentication backend, the code is below. It > allows a user to click "email me a one-time password&quo

Authentication backend - serialization

2017-06-05 Thread Alison P
Hi everyone, I have written a custom authentication backend, the code is below. It allows a user to click "email me a one-time password" on the home page, which is saved on the "Person" model (which extends User through a foreign key) and then log in with that password. This backend verifies th