diff options
| author | 2021-08-14 12:06:00 +0200 | |
|---|---|---|
| committer | 2021-08-14 12:06:00 +0200 | |
| commit | 92ae9c89a4356abc94f2ec5c96a1b783f933fb18 (patch) | |
| tree | eb362cc866f518d8b83e8af67f7ffb7cd1c10d23 /app/views/error | |
| parent | eb5f3a5cf22ae7889dfafb769a4cfead1a82a7e6 (diff) | |
fix (#3765)
Diffstat (limited to 'app/views/error')
| -rw-r--r-- | app/views/error/index.phtml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/error/index.phtml b/app/views/error/index.phtml index d5618d54c..0d14d7fc7 100644 --- a/app/views/error/index.phtml +++ b/app/views/error/index.phtml @@ -3,7 +3,11 @@ <h1 class="alert-head"><?= $this->code ?></h1> <p> <?= htmlspecialchars($this->errorMessage, ENT_NOQUOTES, 'UTF-8') ?><br /> + <?php if (FreshRSS_Auth::hasAccess()) {?> <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> + <?php } else { ?> + <a class="signin" href="<?= _url('auth', 'login') ?>"><?= _t('gen.auth.login') ?></a> + <?php } ?> </p> </div> </div> |
