🎨 改进

This commit is contained in:
WispX
2020-03-17 16:32:48 +08:00
parent 4b60767b0a
commit da4556bf48
7 changed files with 27 additions and 24 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class Auth extends Base
{
if ($this->request->isPost()) {
try {
if ($this->config['close_register']) {
if ($this->getConfig('close_register')) {
throw new Exception('站点已关闭注册');
}
$data = $this->request->post();