You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails on mix release if I add this string. I had similar issue before: #70
Looks like config.exs isn't a good place for functions.. Though I'm not sure and will appreciate any clarifications on this.
On a fresh install I was getting invalid CSRF errors when submitting the login form.
It turned out
config.generate_csrf_token
was nil, and addict was rendering a blank value in the CSRF hidden form field.The fix was to add
to my config.
As this isn't mentioned in the docs, this could be a bug I guess, or (more likely) there may be something screwy elsewhere in my config?
Posting mainly for the benefit of others who may hit this. For my part it's working and I'm moving on : )
The text was updated successfully, but these errors were encountered: