mrjasongorman

Password reset link is localhost

Recommended Posts

If anyone can help with this that would be great.

The password reset link is localhost? but i'm viewing the site from it's live url.

Thanks, Jason

Share this post


Link to post
Share on other sites

Is the $config->httpHosts array correct? If not then processwire will internally rewrite the domain name to something whitelisted.

Share this post


Link to post
Share on other sites

I checked the $config->httpHosts array and the correct addresses were listed in there.

As a fix i've added $config->httpHost (singular) with the live address. But unfortunately this then makes working on localhost a bit of a pain.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By anttila
      We are developing an App that sends data over the Internet to ProcessWire (POST/JSON). We want password to be protected somehow when sending it, but I should be able to compare it to PW's passwords. We were thinking of using md5 encryption, but PW uses different encryption.
      How can I be sure that user has active account when they use the App?
    • By franciccio-ITALIANO
      Hi, I read this: https://processwire.com/api/fieldtypes/repeaters/
      I would like to put 3 same field link to same template, but in processwire I can put only 1.
      The modules repeaters can help me?
      I see the video and seem no, because I want add the SAME FIELD, not another o a group of another link.
       
      Someone can help me?
       
       
    • By Robin S
      Password Generator
      Adds a password generator to InputfieldPassword.

       
      Usage
      Install the Password Generator module.
      Now any InputfieldPassword has a password generation feature. The settings for the generator are taken automatically from the settings* of the password field.
      *Settings not supported by the generator:
      Complexify: but generated passwords should still satisfy complexify settings in the recommended range. Banned words: but the generated passwords are random strings so actual words are unlikely to occur.  
      https://modules.processwire.com/modules/password-generator/
      https://github.com/Toutouwai/PasswordGenerator
    • By fabjeck
      Hello everyone.
       
      The website I'm currently working on, contains a "news-section", where the user/punlisher is able to write articles. In most cases the publisher is gonna add a image to the article. But when he doesn't, a default wallpaper, should be displayed. Now: My problem is that I'm struggling to get the default img, which is in an image folder under templates.
      if($article->image) { $image = $article->image->width(1000); } else { $image = templates->images->get('default_wallpaper.png'); /* of course it doesn't work like this, but that's what I want to achieve */ } $preview = $image->width(400); $thumb = $preview->url; $img = $image->url; }  
    • By anttila
      Is it possible to get rid of these useless rel attributes? It's CKeditor's default. I don't understand why those are forced.