summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2012-07-30 13:14:29 +0000
committerTom Needham <tom@owncloud.com>2012-07-30 13:14:29 +0000
commite47a8a9f0937051c17d5f95652098b53610f8cb6 (patch)
tree5335976601fcccec39c01988988c0ec21cac4e85 /settings
parentb0dc4383e14713a79c67f71e8e3f3c1c09d8958c (diff)
downloadnextcloud-server-e47a8a9f0937051c17d5f95652098b53610f8cb6.tar.gz
nextcloud-server-e47a8a9f0937051c17d5f95652098b53610f8cb6.zip
Authorisation requires you to be logged in
Diffstat (limited to 'settings')
-rw-r--r--settings/oauth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/oauth.php b/settings/oauth.php
index fc158afe26e..5fe21940b04 100644
--- a/settings/oauth.php
+++ b/settings/oauth.php
@@ -19,6 +19,7 @@ switch($operation){
break;
case 'authorise';
+ OC_Util::checkLoggedIn();
// Example
$consumer = array(
'name' => 'Firefox Bookmark Sync',