544782275@qq.com 4 years ago
parent
commit
091b3ad0a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/School.php

+ 1 - 1
app/admin/controller/School.php

@@ -69,7 +69,7 @@ class School extends Controller
                 if($is_set){
                     $this->error('不能设置重复的账号');
                 }
-                $data['password'] = md5($data['password']);
+                $data['password'] = md5($data['visible_password']);
             }
         }
     }