summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/configure/users.phtml2
-rw-r--r--p/index.html3
2 files changed, 5 insertions, 0 deletions
diff --git a/app/views/configure/users.phtml b/app/views/configure/users.phtml
index 41129333c..990c80acc 100644
--- a/app/views/configure/users.phtml
+++ b/app/views/configure/users.phtml
@@ -68,6 +68,7 @@
</div>
</div>
+ <?php if (Minz_Configuration::canLogIn()) { ?>
<div class="form-group">
<label class="group-name" for="token"><?php echo Minz_Translate::t('auth_token'); ?></label>
<?php $token = $this->conf->token; ?>
@@ -77,6 +78,7 @@
<?php echo FreshRSS_Themes::icon('help'); ?> <?php echo Minz_Translate::t('explain_token', Minz_Url::display(null, 'html', true), $token); ?>
</div>
</div>
+ <?php } ?>
<div class="form-group form-actions">
<div class="group-controls">
diff --git a/p/index.html b/p/index.html
index 5adacab2c..260f437bd 100644
--- a/p/index.html
+++ b/p/index.html
@@ -22,6 +22,9 @@ h1 a {
color: #0062BE;
text-decoration: none;
}
+img {
+ border: 0;
+}
</style>
</head>