mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-26 01:58:42 -04:00
Add env variable to disallow pwd change (#4325)
This commit is contained in:
1 parent
83af580d40
commit
ce73d9bb31
1 file changed
+1
-1
@@ -520,7 +520,7 @@ class Employee extends Person
|
||||
{
|
||||
$success = false;
|
||||
|
||||
if (ENVIRONMENT != 'testing') {
|
||||
if (!getenv('DISALLOW_PASSWORD_CHANGE')) {
|
||||
$this->db->transStart();
|
||||
|
||||
$builder = $this->db->table('employees');
|
||||
|
||||
Reference in new issue
Block a user