mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 05:39:32 +02:00
1 parent
ae419fa494
commit
76a85a4ce9
64 files changed
+250
-242
No files matched your search
@@ -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