mirror of
http://124.126.16.154:8888/singularity/hyperf-saml.git
synced 2026-01-15 07:15:05 +08:00
build(composer): 添加了错误码和对应的语言包
This commit is contained in:
16
publish/languages/en/saml_error.php
Normal file
16
publish/languages/en/saml_error.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* saml_error.php@HyperfSaml
|
||||
*
|
||||
* @author 李东云<dongyun.li@luxcreo.cn>
|
||||
* Powered by PhpStorm
|
||||
* Created on 2022/4/25
|
||||
*/
|
||||
|
||||
return [
|
||||
'default' => 'SAML format error',
|
||||
'params' => [
|
||||
'default' => 'SAML parameters missing',
|
||||
'saml_request' => 'SAMLRequest is required',
|
||||
],
|
||||
];
|
||||
16
publish/languages/zh_CN/saml_error.php
Normal file
16
publish/languages/zh_CN/saml_error.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* saml_error.php@HyperfSaml
|
||||
*
|
||||
* @author 李东云<dongyun.li@luxcreo.cn>
|
||||
* Powered by PhpStorm
|
||||
* Created on 2022/4/25
|
||||
*/
|
||||
|
||||
return [
|
||||
'default' => 'SAML 检验失败',
|
||||
'params' => [
|
||||
'default' => 'SAML 参数校验失败',
|
||||
'saml_request' => 'SAMLRequest 参数不能为空',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user