1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-18 00:49:09 -04: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}