Rev 7144 | Rev 14332 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7144 | Rev 7148 | ||
---|---|---|---|
Line 91... | Line 91... | ||
91 | pw1=!passcrypt $pw1 |
91 | pw1=!passcrypt $pw1 |
92 | !setdef !set user_password=$pw1 in $userdef |
92 | !setdef !set user_password=$pw1 in $userdef |
93 | pass=!getdef user_password in $userdef |
93 | pass=!getdef user_password in $userdef |
94 | !if $pass=$pw1 |
94 | !if $pass=$pw1 |
95 | error=success |
95 | error=success |
96 | wims_module_log=Change participant password: $part |
96 | wims_module_log=Change participant password: $part by $wims_realuser in $wims_class |
97 | wims_class_log=change password: $part by $wims_realuser |
97 | wims_class_log=change password: $part by $wims_realuser |
98 | !else |
98 | !else |
99 | error=fail |
99 | error=fail |
100 | !endif |
100 | !endif |
101 | !exit |
101 | !exit |
Line 123... | Line 123... | ||
123 | pw1=!passcrypt $pw1 |
123 | pw1=!passcrypt $pw1 |
124 | !setdef !set user_password=$pw1 in $userdef |
124 | !setdef !set user_password=$pw1 in $userdef |
125 | pass=!getdef user_password in $userdef |
125 | pass=!getdef user_password in $userdef |
126 | !if $pass=$pw1 |
126 | !if $pass=$pw1 |
127 | error=success |
127 | error=success |
128 | wims_module_log=Change user password: $wims_user $wims_realuser |
128 | wims_module_log=Change user password: $wims_user $wims_realuser in $wims_class |
129 | !if $wims_user=supervisor |
129 | !if $wims_user=supervisor |
130 | wims_class_log=change password by $wims_realuser |
130 | wims_class_log=change password by $wims_realuser |
131 | !read lang/mail.proc.$moduclass_lang |
131 | !read lang/mail.proc.$moduclass_lang |
132 | !endif |
132 | !endif |
133 | !else |
133 | !else |
Line 147... | Line 147... | ||
147 | !endif |
147 | !endif |
148 | !setdef !set class_password=$pw1 in wimshome/log/classes/$wims_class/.def |
148 | !setdef !set class_password=$pw1 in wimshome/log/classes/$wims_class/.def |
149 | class_pass=!getdef class_password in wimshome/log/classes/$wims_class/.def |
149 | class_pass=!getdef class_password in wimshome/log/classes/$wims_class/.def |
150 | !if $class_pass=$pw1 |
150 | !if $class_pass=$pw1 |
151 | error=success |
151 | error=success |
152 | wims_module_log=Change class password. |
152 | wims_module_log=Change class password $wims_class by $wims_realuser in $wims_class. |
153 | wims_class_log=change class password by $wims_realuser |
153 | wims_class_log=change class password by $wims_realuser |
154 | !else |
154 | !else |
155 | error=fail |
155 | error=fail |
156 | !endif |
156 | !endif |
157 | !endif |
157 | !endif |