1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-25 19:58:36 +00:00

Update models/user/user_system.go

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
Jason Song
2023-01-04 18:30:02 +08:00
committed by GitHub
parent 0f824b693c
commit 1faa8856a4

View File

@@ -63,5 +63,5 @@ func (u *User) IsActions() bool {
if u == nil {
return false
}
return u.ID == ActionsUserID && u.Name == ActionsUserName
return u.ID == ActionsUserID
}