Settings: All connections, Posting accounts and Activity open on the local edition
Their admin check wanted someone signed in, so the local owner got a 404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -294,7 +294,7 @@ type postingGrid struct {
|
||||
}
|
||||
|
||||
func (s *Server) postingPage(w http.ResponseWriter, r *http.Request) {
|
||||
if s.admin(w, r) == nil {
|
||||
if !s.adminPage(w, r) {
|
||||
return
|
||||
}
|
||||
g := postingGrid{Accounts: s.postingAccounts(), Working: map[int64]bool{}, Owners: map[int64]string{}}
|
||||
@@ -321,7 +321,7 @@ func (s *Server) postingPage(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
func (s *Server) postingSave(w http.ResponseWriter, r *http.Request) {
|
||||
if s.admin(w, r) == nil {
|
||||
if !s.adminPage(w, r) {
|
||||
return
|
||||
}
|
||||
if err := r.ParseForm(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user