v0.332.0: one sign-in for the file manager — a dashboard pass, a host-only files cookie, a per-box secret header (R-1100, operator D16)
gates / gates (push) Successful in 47s
gates / gates (push) Successful in 47s
This commit is contained in:
@@ -193,6 +193,9 @@ func (s *Server) renderAppDataTab(w http.ResponseWriter, r *http.Request, found
|
||||
if flashErr := s.flashFrom(r, "flash_error"); flashErr != "" {
|
||||
data["FlashError"] = flashErr
|
||||
}
|
||||
// R-1100: with the one sign-in, the folder links open FileBrowser without its own login, so the „asks for its own
|
||||
// password" note is said only on a box without it. Pinned by TestFilesSSO_R1100_DataTabLoginNote.
|
||||
data["FilesSSO"] = s.filesHeader() != ""
|
||||
data["Title"] = found.Meta.DisplayName
|
||||
data["TitleKey"], data["TitleArgs"] = "page.title.app_data", []interface{}{found.Meta.DisplayName}
|
||||
s.executeTemplate(w, r, "app_data", data)
|
||||
|
||||
Reference in New Issue
Block a user