mirror of
https://github.com/cjango/dcat-vue.git
synced 2025-12-07 06:50:03 +08:00
合并验证码
This commit is contained in:
@@ -103,4 +103,12 @@ class Helper
|
||||
// 获取临时密钥,计算签名
|
||||
return (new Sts())->getTempKeys($config);
|
||||
}
|
||||
|
||||
public static function injectAuthConfigs()
|
||||
{
|
||||
config()->set('captcha.default.length', 4);
|
||||
config()->set('captcha.default.height', 34);
|
||||
config()->set('captcha.default.width', 100);
|
||||
config()->set('captcha.default.quality', 100);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user