Entity: Fix code comments in auth_user.go

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-11-21 08:56:55 +01:00
parent 8fc9f807de
commit f0607ac64c

View File

@@ -1241,7 +1241,7 @@ func (m *User) HasShares() bool {
return !m.NoShares()
}
// HasShare if a uid was shared with the user.
// HasShare if an uid was shared with the user.
func (m *User) HasShare(uid string) bool {
if m.NotRegistered() || m.NoShares() {
return false