diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-30 18:43:34 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-30 18:43:34 +0300 |
commit | 2371782fd6140de4ea6fa557be7b1215e79923ad (patch) | |
tree | 5df84e95e3ee6aa0a8c2dba0832d48e5abdee6f3 /lib/Controller | |
parent | ae9226c636f876f95408d5f13481a73ab4155061 (diff) |
Fix return code when user can not enable SIP
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/RoomController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index c8b4bdb2e..a6c1de718 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -1706,7 +1706,7 @@ class RoomController extends AEnvironmentAwareController { } if (!$this->talkConfig->canUserEnableSIP($user)) { - return new DataResponse([], Http::STATUS_UNAUTHORIZED); + return new DataResponse([], Http::STATUS_FORBIDDEN); } if (!$this->talkConfig->isSIPConfigured()) { |