Closed simonh1000 closed 8 years ago
I'll have to dig into this, be back at you soon.
Hi, I'm going to close this. When I first wrote the issue I included very different error messages, and those have since returned. I've tracked that down to these lines not working in mailgun.ex
use Mailgun.Client, domain: Application.get_env(:addict, :mailgun_domain),
key: Application.get_env(:addict, :mailgun_key)
But in the process of adding IO.inspect commands to find the issue, I seem to have caused things to work! I've now reinstalled your Addict to get rid of my IO.inspects and it still seems to work. I'm confused, but no longer blocked!
I'm trying to use some Addict functions on a standalone basis, as I need the password resetting functionality for a SPA I'm building. In particular, my user registration process is not public, but admin users will create the accounts, and I want that process to include sending the new user an email with a password in.
I'm running the following on my
:create
routebut getting
I seem to have an authentication issue, which is not entirely surprising as I'm doing authentication myself (using Guardian).
Update I just tried a reset using the normal
/recover_password
route and got the same error. I then found that I had turned offand un-commenting seemed to help on
/recover_password
some of the time. So I'm wondering what I can add to my code to emulateprotect_from_forgery
andput_secure_browser_headers