Update synology_dsm.sh

Issue for lougout
This commit is contained in:
LordDarkneo authored and GitHub committed 2023-12-22 09:09:29 -05:00
1 parent afacdfcb95
commit f59a925897
1 file changed
+3 -2
+3 -2
View File
@@ -223,7 +223,8 @@ synology_dsm_deploy() {
#################### Private functions below ##################################
_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 to not occupy a permanent session, e.g. in DSM's "Connected Users" widget
#Edit Darkneo - reuse previous variables to logout properly only for CERT user
response=$(_get "$_base_url/webapi/$api_path?api=SYNO.API.Auth&version=$api_version&method=logout&_sid=$sid")
_debug3 response "$response"
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.