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

visual studio - vb.net filter binding source by time -

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -