DK2/templates/components/logout_button.php

5 lines
174 B
PHP

<form action="/auth/logout" method="post">
<input type="hidden" name="csrf" value="<?= csrf() ?>">
<input type="submit" value="Logout" class="ui button secondary">
</form>