Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90e38f8e authored by Alexandre Roux's avatar Alexandre Roux
Browse files

display login url only when status is 401

parent c80cff55
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -18,4 +18,6 @@
	<?php endforeach ?>
	</ul>
</div>
<?php if (http_response_code() == 401): ?>
<a href="<?php echo \OC::$server->getSession()->get('oidc_logout_url'); ?>"><?php p('Back to login') ?></a>
<?php endif; ?>
 No newline at end of file