bd67b8f44a20924e781760fa318cc9ba918e1057
Bernd Wurst Startseiten-Shortcut für Pa...

Bernd Wurst authored 11 months ago

1) <?php
2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4) 
5) Written by schokokeks.org Hosting, namely
6)   Bernd Wurst <bernd@schokokeks.org>
7)   Hanno Böck <hanno@schokokeks.org>
8) 
9) This code is published under a 0BSD license.
10) 
11) 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.
12) */
13) 
14) if ($_SESSION['role'] & ROLE_SYSTEMUSER) {
15)     include_once('modules/loginsecurity/include/passkey.php');
16)     $shortcuts[] = [ 'section' => 'loginsecurity',
17)                         'weight'  => 99,
18)                         'file'    => 'overview',
19)                         'icon'    => 'lock.png',
20)                         'title'   => 'Passkey-Anmeldung',
Hanno Böck Fix codingstyle

Hanno Böck authored 11 months ago

21)                         'alert'   => ((count(list_passkeys()) > 0) ? null : 'Nicht aktiv'),