Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
0707f3d9
Commit
0707f3d9
authored
Feb 03, 2026
by
song
Browse files
chore: gofmt
parent
976d6fb0
Changes
2
Show whitespace changes
Inline
Side-by-side
backend/internal/service/ops_port.go
View file @
0707f3d9
backend/internal/service/setting_service.go
View file @
0707f3d9
...
@@ -299,6 +299,7 @@ func (s *SettingService) IsInvitationCodeEnabled(ctx context.Context) bool {
...
@@ -299,6 +299,7 @@ func (s *SettingService) IsInvitationCodeEnabled(ctx context.Context) bool {
}
}
return
value
==
"true"
return
value
==
"true"
}
}
// IsPasswordResetEnabled 检查是否启用密码重置功能
// IsPasswordResetEnabled 检查是否启用密码重置功能
// 要求:必须同时开启邮件验证
// 要求:必须同时开启邮件验证
func
(
s
*
SettingService
)
IsPasswordResetEnabled
(
ctx
context
.
Context
)
bool
{
func
(
s
*
SettingService
)
IsPasswordResetEnabled
(
ctx
context
.
Context
)
bool
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment