Django - CSRF verification failed -


i've got error when try login in django site:

forbidden (403) csrf verification failed. request aborted. reason given failure:     referer checking failed - https://mydomain.com/mysitename not match https://mydomain.com/. 

surely because "mysitename" don't see config set specify that. workaround disable csrf verification module not option in production.

any idea how fix problem?


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -