summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-05-11 11:11:45 +0200
committerMichiel de Jong <michiel@unhosted.org>2012-05-11 15:21:45 +0200
commita95c1b8082fa78ad763e97eb78a6ed3036b581e9 (patch)
tree2558bd6ca9951fe2f5ffe611a6cfae0fc589f417 /apps
parent00e1d174a9dc16314563fb659dbd06e45f38cf9c (diff)
downloadnextcloud-server-a95c1b8082fa78ad763e97eb78a6ed3036b581e9.tar.gz
nextcloud-server-a95c1b8082fa78ad763e97eb78a6ed3036b581e9.zip
fix auth dialog includes
Diffstat (limited to 'apps')
-rwxr-xr-xapps/remoteStorage/auth.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/remoteStorage/auth.php b/apps/remoteStorage/auth.php
index 2fd5011d9f4..fcbeda44910 100755
--- a/apps/remoteStorage/auth.php
+++ b/apps/remoteStorage/auth.php
@@ -67,7 +67,7 @@ if($userId && $appUrl && $categories) {
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="../../../core/img/favicon.png" /><link rel="apple-touch-icon-precomposed" href="../../../core/img/favicon-touch.png" />
<link rel="stylesheet" href="../../../core/css/styles.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="../auth.css" type="text/css" media="screen" />
+ <link rel="stylesheet" href="?app=remoteStorage&getfile=auth.css" type="text/css" media="screen" />
</head>
<body id="body-login">
<div id="login">
@@ -78,7 +78,7 @@ if($userId && $appUrl && $categories) {
</header>
<section id="main">
<div id="oauth">
- <h2><img src="../remoteStorage-big.png" alt="remoteStorage" /></h2>
+ <h2><img src="?app=remoteStorage&getfile=remoteStorage-big.png" alt="remoteStorage" /></h2>
<p><strong><?php $appUrlParts = explode('/', $_GET['redirect_uri']); echo htmlentities($appUrlParts[2]); ?></strong>
requests read &amp; write access to your
<?php
@@ -118,5 +118,5 @@ if($userId && $appUrl && $categories) {
}
}
} else {//params not ok
- die('please use e.g. /?app=remoteStorage&getfile=auth.php&userid=admin');
+ die('please use e.g. /?app=remoteStorage&getfile=auth.php&userid=admin&redirect_uri=http://host/path&scope=...');
}