fix: coderabbit review
This commit is contained in:
1 parent
b48d3a6b40
commit
b56a75cbe3
6 files changed
+25
-10
No files matched your search
+1
-4
@@ -113,10 +113,7 @@ func HashBackupCode(code string) (string, error) {
|
||||
|
||||
// Get2FAIssuer 获取2FA发行者名称
|
||||
func Get2FAIssuer() string {
|
||||
if issuer := SystemName; issuer != "" {
|
||||
return issuer
|
||||
}
|
||||
return "NewAPI"
|
||||
return SystemName
|
||||
}
|
||||
|
||||
// getEnvOrDefault 获取环境变量或默认值
|
||||
|
||||
Reference in new issue
Block a user