allow only registered users to see content function

  • retag add tags

Hello,

I have this option ticked from the settings: "allow only registered users to see content" so as to it a closed site.

Now, on registration page, i wrote code to send user a consent form by using django send_mail function. Here is the problem, if i have that option above ticked, when this new code tried to send email, i was redirected to the login page (it returns me please login page after POST). Is there any way i can by-pass this option once so i can successfully send the email?

Thanks.

-Lidya

lidyaagustina's avatar
11
lidyaagustina
asked 2014-09-03 20:52:52 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments