ruby on rails - In my Heroku production App I can't Login -
i can login in admin on local web app when got heroku login says need confirm email sent inbox. problem don't ever email sent inbox when ask resend.
so right can't login.
here link heroku app https://chip-reddit.herokuapp.com
here link github. https://github.com/goldmullet/bloccit
any idea why?
the problem might mail provider. in experience sendgrid regularly need contacting via web site support manually intervene allow heroku apps send email. believe anti-spam measure.
as temporary workaround (perhaps while waiting sendgrid respond), can manually confirm user through rails console. in terminal:
heroku run rails c # ... # wait few seconds rails console open # ... # admin user out of db , mark confirmed admin = user.find_by(email: "your-admin-email@goes.here") admin.skip_confirmation! admin.save! # exit console exit
Comments
Post a Comment