Skip to content
Snippets Groups Projects
Commit 71954bba authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

add fallback if `oauth_signature_method` is not set, fixes #1042

Closes #1042

Merge request studip/studip!612
parent 1ce77342
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ class LtiData extends SimpleORMap ...@@ -111,7 +111,7 @@ class LtiData extends SimpleORMap
return $this->tool->oauth_signature_method; return $this->tool->oauth_signature_method;
} }
return $this->options['oauth_signature_method']; return $this->options['oauth_signature_method'] ?? 'sha1';
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment