Hello Mates,
I have created User Management Module but I am unable to add a password field while adding or editing users.
Thanks in advance,
Afaque Shaikh
Hi Afaque,
Unfortunately (probably by design, but it is rather annoying), if you drag/drop an Entity on a Web Screen, all Attributes are converted into editable fields in a Form Widget, except for passwords. However, you can just manually add another Input to the Form (use the Password Widget), and set that to the password field of your user Structure/Entity.
Kilian Hekhuis wrote:
Thanks Kilian,
can you please tell me which encryption method outsystem use , as I want to store password in DB.
You should use the EncryptPassword Action from the Users eSpace.
I am unable to find EncryptPassword Action in Service Studio :(
Afaque Shaikh wrote:
Amit Verma wrote:
Thanks Amit :)
You can add another Input to the Form (use the Password Widget) and bind with variable or user Structure/Entity.
Please find the attached "UserManagement.oml" file for your reference. Please go through
UserManagement --> ChangePassword (webblock), i think this will help you.
Like I said, it's in the Users eSpace. You need to reference it via the Manage Dependencies pop-up:
Thanks Kilian it worked,
I really appreciate your help :)
You're welcome :).
Welcome :)
Hi!
I know this is a bit of an older thread but I have a question regarding updating the user and (not) the password.
I am using a form to create or update users including passwords (which are being encrypted and stored in database). If I update a user without entering the password again or changing it, it seems that the encrypted value is stored or something. The old password does not work anymore for the account.
Anyone know a solution for this?
Max
Hi Max,
Is this still valid?
When you update the record with en ampty password, this would be treated as your new password.
I would make a back-end check: if the password is left empty for the update, get the original record of this user and take the password from there (with some additional checks on who can perfrom this for this user).
Let me know if this helps.
Kind regards and best of luck!
Hi Wouter,
I already resolved it! It had something to do with the password being empty indeed.