Recently Browsing 0 members
No registered users viewing this page.
can somebody tell me, if it is possible to get the clear password of an InputfieldPassword inside a module, before it is encrypted?
I have made a custom module which sets the password of an Auth0User after the hook publishReady with a random generated password. When I try to get a clear password from a InputfieldPassword in this hook, it is of course already encrypted (which is of course good). But is there a hook before the encryption, so I could get it one time to send it to Auth0?
If there is not such thing, could be another possibility to add a jQuery script to get the value directly from the DOM and save it somewhere temporarily?
I know this might be an unusual question, but I would appreciate any feedback.
By Robin S
Adds a password generator to InputfieldPassword.
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.
Hey guys... Ok so I have a problem with a registration form password inputfield... The problem is that InputfieldPassword.js and InputfieldPassword.css are not loaded/fired. Or I dont even know exactly what is happening... Im pretty new to processwire and the website was not created by me so Im trying to figure out what has been done and how processwire works. Anyway this is how the form looks right now:
...and as you can see the styling is off (password validation check in particular)... this is what I see when page is loaded (without adding any input)... it looks like js and css files from wire/modules/Inputfield/InputfieldPassword are not firing... I dont know how it is supposed to work exactly so I dont even know where to start.
Maybe someone has had similar problem and know an easy fix or can navigate me to what could cause this situation in PW.
Oh by the way this problem occured when upgrading the PW version (current version 3.0.65)... everything else is ok... this is the only problem that has been found after upgrade...
Appreciate all the help!
I have a simple front-end password update form like this:
In the browser the label of the second field shows up as follows:
I can't figure out what is changing the label, what is inserting /processwire/ and reformatting the thing. Is this something in PW? A "helpful" thing that browsers do?
The problem disappears if I simply rename the second field to 'Confirm Password'.
So my problem is solved, but I'll leave this here in case this is some kind of bug.
How do you get the same 'set password' form/input fields on the front-end as in the admin area?
I have a working front-end version, but the admin version has some nifty stuff around it. Should be easy to get the same on the front-end, right?