Files
sentos/app/validate/admin/auth/Users.php
2023-10-21 21:18:46 +08:00

24 lines
756 B
PHP

<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace app\validate\admin\auth;
use think\Validate;
class Index extends Validate{
protected $rule = [
'password' => 'require'
];
protected $message = [
'password.require' => '登录密码必须',
];
protected $scene = [
'passwd' => ['password'],
];
}