mirror of
https://gitee.com/gitea/gitea
synced 2025-11-30 05:10:28 +08:00
@@ -448,7 +448,7 @@ func DeleteAuthSource(ctx *context.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if err = auth_service.DeleteSource(source); err != nil {
|
||||
if err = auth_service.DeleteSource(ctx, source); err != nil {
|
||||
if auth.IsErrSourceInUse(err) {
|
||||
ctx.Flash.Error(ctx.Tr("admin.auths.still_in_used"))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user