mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-17 16:36:49 +00:00
fix: restore symlink behavior as opt-in followExternalSymlinks
This commit is contained in:
parent
64511ce45e
commit
a1063925e1
23 changed files with 384 additions and 93 deletions
|
|
@ -43,9 +43,9 @@ options you want to change.`,
|
|||
user *users.User
|
||||
)
|
||||
if id != 0 {
|
||||
user, err = st.Users.Get("", id)
|
||||
user, err = st.Users.Get("", false, id)
|
||||
} else {
|
||||
user, err = st.Users.Get("", username)
|
||||
user, err = st.Users.Get("", false, username)
|
||||
}
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue