Bernd Wurst commited on 2023-12-09 07:34:43
Zeige 1 geänderte Dateien mit 23 Einfügungen und 0 Löschungen.
... | ... |
@@ -0,0 +1,23 @@ |
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', |
|
21 |
+ 'alert' => ((count(list_passkeys()) > 0) ? null : 'Nicht aktiv'), |
|
22 |
+ ]; |
|
23 |
+} |
|
0 | 24 |