Skip to content

django example: trying to get only the email auth work for now... #118

Closed
@YAmikep

Description

@YAmikep

Hi,

First, let me tell you that I really like your work with this app.
I am trying to use only the email for now to make it simple (No Facebook, Google etc, I just want a User to sign up with an email and log in with an email)
I decided to give it a try via the django example app included in the repository but I have some issues...

First, there were several errors about missing settings. I think you must have a couple of settings defined in your local file "local_settings.py" and since it is not in the repository, some of the settings are missing. Could you give us an example of the "local_settings.py" file to see what settings need to be setup?

After I resolved the missing settings errors, I went to this page to register an account with an email address: http://localhost:8051/signup-email/
It worked and I was logged in.

Then I had a hard time logging out and I finally added a view on the views.py file. from django.contrib.auth import views as auth_views
url(r'^logout/$', auth_views.logout, name='auth_logout'),``

Now, when I want to log in with the email I used to register, it creates a new account instead of logging me in, why ? http://localhost:8051/login/email/

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions