mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Entity: Fix code comments in auth_user.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user