|
Hi, I am integrating osqa with another site which has already validated the emails. I need to disable all email validation in osqa. Here is the approach that i tried: I commented the validation related urls in urls.py In my custom AuthenticationMiddleware (i am authenticating from the parent site), if the user has not yet been added to the osqa db, i create a new entry and set email_isvalid = True. The problem is, when i try to run the above code it shows a runtime error; this error to be exact:
Which modules handle email validation? |
|
OK, i found it out myself. For others who want to do the same thing, besides the above steps you also need to edit osqa/forum/models/user.py UserJoinsAction.process_action; just return from that function without doing anything. Don't forgot to set email_isvalid = True when you create a new user as mentioned in the question. |
@Balaji, we require all postings at meta.osqa.net to have a clear, specific QUESTION in the title field. Please edit this ASP to make it a proper question.
Done. Can you answer my question now?