git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
e690d33
Branches
Tags
master
ticket
webinterface.git
modules
loginsecurity
shortcuts.php
Startseiten-Shortcut für Passkeys
Bernd Wurst
commited
e690d33
at 2023-12-09 07:34:43
shortcuts.php
Blame
History
Raw
<?php /* This file belongs to the Webinterface of schokokeks.org Hosting Written by schokokeks.org Hosting, namely Bernd Wurst <bernd@schokokeks.org> Hanno Böck <hanno@schokokeks.org> This code is published under a 0BSD license. Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code. */ if ($_SESSION['role'] & ROLE_SYSTEMUSER) { include_once('modules/loginsecurity/include/passkey.php'); $shortcuts[] = [ 'section' => 'loginsecurity', 'weight' => 99, 'file' => 'overview', 'icon' => 'lock.png', 'title' => 'Passkey-Anmeldung', 'alert' => ((count(list_passkeys()) > 0) ? null : 'Nicht aktiv'), ]; }