# Ignition 8.0.2 Password addition into the database

**URL:** <https://forum.inductiveautomation.com/t/ignition-8-0-2-password-addition-into-the-database/26940>\
**Category:** Ignition\
**Created:** [July 29, 2019, 12:35am UTC](https://forum.inductiveautomation.com/t/ignition-8-0-2-password-addition-into-the-database/26940 "2019-07-29T00:35:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew.Zebic](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Andrew.Zebic](https://forum.inductiveautomation.com/u/Andrew.Zebic)\
**Post date:** [July 29, 2019, 12:35am UTC](https://forum.inductiveautomation.com/t/ignition-8-0-2-password-addition-into-the-database/26940/1 "2019-07-29T00:35:53Z")

</div>

Hi,  
Since perspective currently doesn’t have dynamic user management, I’ve been adding the functionality myself. Everything is fine except for password verification. It seems like after I add a password to the appropriate database table with a username, (via a SQL insert), using system.security.validateUser(username, password) will always return false with those same details afterwards. Does the password need to encrypted before being entered into the database, and if so, how?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [July 29, 2019, 2:08pm UTC](https://forum.inductiveautomation.com/t/ignition-8-0-2-password-addition-into-the-database/26940/2 "2019-07-29T14:08:02Z")

</div>

The easiest way is to upgrade to 8.0.3 and use the [new system.user scripting functions](https://docs.inductiveautomation.com/display/DOC80/system.user) to add or change a password. The encryption will be handled for you.

---

<div class="post-metadata">

**Author:** ![Andrew.Zebic](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Andrew.Zebic](https://forum.inductiveautomation.com/u/Andrew.Zebic)\
**Post date:** [July 30, 2019, 12:57am UTC](https://forum.inductiveautomation.com/t/ignition-8-0-2-password-addition-into-the-database/26940/3 "2019-07-30T00:57:38Z")

</div>

Hi @KathyApplebaum,  
Thanks for that, but we’ll need a stable version. When will the next stable version be available?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [July 30, 2019, 2:03pm UTC](https://forum.inductiveautomation.com/t/ignition-8-0-2-password-addition-into-the-database/26940/4 "2019-07-30T14:03:59Z")

</div>

If no issues are found, 8.0.3 will be final next week.

---

<div class="post-metadata">

**Author:** ![rberghammer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rberghammer/32/7150_2.png) [@rberghammer](https://forum.inductiveautomation.com/u/rberghammer)\
**Post date:** [October 7, 2019, 10:52pm UTC](https://forum.inductiveautomation.com/t/ignition-8-0-2-password-addition-into-the-database/26940/5 "2019-10-07T22:52:12Z")

</div>

@KathyApplebaum, are these scripting functions only capable of changing passwords for database user sources? I’m struggling to find a way for users to change their own passwords in Perspective when using the default internal user source.

If this is not possible, is there any timeline for user management in Perspective?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [October 8, 2019, 1:49pm UTC](https://forum.inductiveautomation.com/t/ignition-8-0-2-password-addition-into-the-database/26940/6 "2019-10-08T13:49:45Z")

</div>

I tested all the scripting with the default internal user source, but I did all the testing in Vision. I’ll ping someone who can give you more insight on the component timeline.
