We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [hash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
814 views

Getting “Invalid verification code.” on password reset

I've had a few users on our site have trouble resetting their password. They go through our "Forget password" flow on the front-end of our site, receive the reset email, which allows them to create a ...
1
vote
1answer
270 views

How does “hash” work in the context of the Contact Form?

I'm running into some trouble using the "hash" filter in Craft's first-party Contact Form plugin. The docs suggest using it like so: <input type="hidden" name="redirect" value="{{ 'contact/thanks?...
1
vote
2answers
134 views

Importing members from EE without password reset

We've rewritten an EE site on Craft and now need to import the members. My understanding is that since passwords are hashed & not encrypted there is no way to transfer the passwords from EE to ...
3
votes
2answers
740 views

Encrypt ID on front-end and decrypt on back-end

I have a front-end form that posts through the ID of a particular element/entry to a back-end controller. Is there any way to encrypt/hash that ID on the front-end, so the plain ID number is not ...
4
votes
3answers
629 views

How can I import existing users with passwords stored in a different format than Craft's hash format?

Se need to import a large user table to a Craft installation. Unfortunately, the passwords in the imported data are SHA1 encrypted (and salted). What is the best way to enable the login of the users? ...
2
votes
1answer
5k views

Craft or Twig filter for MD5 or SHA3 hash creation?

I've been digging around and haven't found an existing Twig filter for what I'm trying to do. Basically, I'd like a filter that would provide a hash of a phrase. Pseudo-template code would be ...
1
vote
1answer
2k views

How can I convert a dropdown field value to an integer within a hash?

I'm setting up a twitter feed with craft.twitter.get() and I need to convert a dropdown value to an integer. Here is my code far: {% set cacheTime = sidebarBlock.twitterFeedCacheTime %} {% set tweets ...
7
votes
1answer
614 views

How can I use operators within Twig hashes?

I'm looking for documentation on how to use operators in hashes in Twig. Someone mentioned this in the Google+ support group the other day and I was unable to find any docs or examples. {% set ...