Skip to content

Commit fd4f147

Browse files
committed
fix lint
1 parent e4b39c2 commit fd4f147

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/user.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ func (u *User) IsPasswordSet() bool {
432432
return len(u.Passwd) != 0
433433
}
434434

435+
// IsVisibleToUser check if viewer is able to see user profile
435436
func (u *User) IsVisibleToUser(viewer *User) bool {
436437
switch u.Visibility {
437438
case structs.VisibleTypePublic:

0 commit comments

Comments
 (0)