3ef995c2108fe77d22c0b556fb9717cb848bc48f
Bernd Wurst Startseiten-Shortcut für Pa...

Bernd Wurst authored 2 years ago

1) <?php
Hanno Böck Add newlines before comment...

Hanno Böck authored 10 months ago

2) 
Bernd Wurst Startseiten-Shortcut für Pa...

Bernd Wurst authored 2 years ago

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

Hanno Böck authored 1 year ago

18)         'weight'  => 99,
19)         'file'    => 'overview',
20)         'icon'    => 'lock.png',
21)         'title'   => 'Passkey-Anmeldung',
22)         'alert'   => ((count(list_passkeys()) > 0) ? null : 'Nicht aktiv'),
23)     ];