Subversion Repositories wimsdev

Rev

Rev 15324 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15324 Rev 15473
Line 144... Line 144...
144
  !endif
144
  !endif
145
  !read var.auth
145
  !read var.auth
146
  !if $error!=$empty
146
  !if $error!=$empty
147
    !exit
147
    !exit
148
  !endif
148
  !endif
-
 
149
  !!no verification with the old class_password
-
 
150
  class_pass=!passcrypt $pw1
149
  !setdef !set class_password=$pw1 in wimshome/log/classes/$wims_class/.def
151
  !setdef !set class_password=$class_pass in wimshome/log/classes/$wims_class/.def
150
  class_pass=!getdef class_password in wimshome/log/classes/$wims_class/.def
152
  passclass_check=!passcheck $pw1 and $class_pass
-
 
153
  !! so the test is always true ??
-
 
154
  !! from the origin, perhaps to be able to check more in the future ??
151
  !if $class_pass=$pw1
155
   !if $passclass_check=yes
152
    error=success
156
    error=success
153
    wims_module_log=Change class password $wims_class by $wims_realuser in $wims_class.
157
    wims_module_log=Change class password $wims_class by $wims_realuser in $wims_class.
154
    wims_class_log=change class password by $wims_realuser
158
    wims_class_log=change class password by $wims_realuser
155
  !else
159
  !else
156
    error=fail
160
    error=fail