Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/signup/email/ instead of /login/email/ #366

Closed
baltasvejas opened this issue Aug 25, 2014 · 1 comment
Closed

/signup/email/ instead of /login/email/ #366

baltasvejas opened this issue Aug 25, 2014 · 1 comment

Comments

@baltasvejas
Copy link

Is there a way to modify PSA behaviour so that
{% url 'social:begin' "email" %}
produces
/signup/email/
instead of current /login/email/. I want to use login url when users actually are logging-in after they already passed signup.

Thanks in advance.

@omab
Copy link
Owner

omab commented Sep 1, 2014

You can add an alias URL in your conf:

urlpatterns = patterns('social.apps.django_app.views',
    # authentication / association
    url(r'^signup/(?P<backend>[^/]+)/$', 'auth',
        name='signup'),
)

And use it in your templates for email signup.

@omab omab closed this as completed Sep 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants