summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-24 21:35:53 +0200
committerGitHub <noreply@github.com>2016-10-24 21:35:53 +0200
commit8a231a4223a45b7e58bfeb30196c54126fc56521 (patch)
tree8803341593c58425e500bb52839d768ebf8b776b /lib/private
parent567e28b01a4d852aeeec8f8b27fe1a34fde841ae (diff)
parent8dcef4fb597eab2802f44c9634ef205cb876143b (diff)
downloadnextcloud-server-8a231a4223a45b7e58bfeb30196c54126fc56521.tar.gz
nextcloud-server-8a231a4223a45b7e58bfeb30196c54126fc56521.zip
Merge pull request #1829 from nextcloud/downstream-26256
Fix login page handling for disabled users
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/legacy/response.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/response.php b/lib/private/legacy/response.php
index 0ec27251ba5..88725d5e30b 100644
--- a/lib/private/legacy/response.php
+++ b/lib/private/legacy/response.php
@@ -33,6 +33,7 @@ class OC_Response {
const STATUS_NOT_MODIFIED = 304;
const STATUS_TEMPORARY_REDIRECT = 307;
const STATUS_BAD_REQUEST = 400;
+ const STATUS_FORBIDDEN = 403;
const STATUS_NOT_FOUND = 404;
const STATUS_INTERNAL_SERVER_ERROR = 500;
const STATUS_SERVICE_UNAVAILABLE = 503;