mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 04:12:10 +00:00
parent
ae419fa494
commit
76a85a4ce9
64 changed files with 250 additions and 242 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue