Skip to content

Commit f8ec4be

Browse files
author
vogelor
committed
fixed some typos in webdav - user
1 parent ac933ed commit f8ec4be

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

interface/web/sites/form/webdav_user.tform.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
),
9797
'password' => array (
9898
'datatype' => 'VARCHAR',
99-
'formtype' => 'TEXT',
99+
'encryption' => 'CLEARTEXT',
100+
'formtype' => 'PASSWORD',
100101
'default' => '',
101102
'value' => '',
102103
'width' => '30',

interface/web/sites/webdav_user_edit.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ function onBeforeInsert() {
134134

135135
function onAfterInsert() {
136136
global $app, $conf;
137+
/* change pwd here */
137138

138139
$web = $app->db->queryOneRecord("SELECT * FROM web_domain WHERE domain_id = ".intval($this->dataRecord["parent_domain_id"]));
139140
$server_id = $web["server_id"];
@@ -168,7 +169,7 @@ function onBeforeUpdate() {
168169

169170
function onAfterUpdate() {
170171
global $app, $conf;
171-
172+
/* change PWD here */
172173

173174
}
174175

0 commit comments

Comments
 (0)