Browse Source

Merge pull request #4925 from LordDarkneo/patch-1

Logout update for DSM Deploy script (2727 issue)
pull/4935/head
neil 11 months ago
committed by GitHub
parent
commit
d8e2b96bce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      deploy/synology_dsm.sh

4
deploy/synology_dsm.sh

@ -223,7 +223,7 @@ synology_dsm_deploy() {
#################### Private functions below ################################## #################### Private functions below ##################################
_logout() { _logout() {
# Logout to not occupy a permanent session, e.g. in DSM's "Connected Users" widget
response=$(_get "$_base_url/webapi/entry.cgi?api=SYNO.API.Auth&version=$api_version&method=logout")
# Logout CERT user only to not occupy a permanent session, e.g. in DSM's "Connected Users" widget (based on previous variables)
response=$(_get "$_base_url/webapi/$api_path?api=SYNO.API.Auth&version=$api_version&method=logout&_sid=$sid")
_debug3 response "$response" _debug3 response "$response"
} }
Loading…
Cancel
Save