Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout update for DSM Deploy script (2727 issue) #4925

Merged
merged 5 commits into from
Dec 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update synology_dsm.sh
#2727 issue when logging out on older version - using variables to unlog only for CERT user
  • Loading branch information
LordDarkneo authored Dec 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 05696d443a59a205d5e0b1b2f06beef35c4cd0a3
3 changes: 1 addition & 2 deletions deploy/synology_dsm.sh
Original file line number Diff line number Diff line change
@@ -223,8 +223,7 @@ synology_dsm_deploy() {

#################### Private functions below ##################################
_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
# Logout SERT 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"
}