From 31dae13a41b1eef774d970c271db0d2c05d2e341 Mon Sep 17 00:00:00 2001 From: spaghetti Date: Mon, 31 Jul 2017 15:05:46 -0400 Subject: [PATCH] Add Universal Two Factor support Also create seperate account security options page This commit requires a new database table --- design/privateheader.php | 6 +++--- design/publicheader.php | 2 +- static/styles/global.css | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/design/privateheader.php b/design/privateheader.php index 1b8985e..77fe0bf 100644 --- a/design/privateheader.php +++ b/design/privateheader.php @@ -533,12 +533,12 @@ if (!empty($Alerts) || !empty($ModBar)) { ?> -
- +
+
-
+
Warning: no DB key
diff --git a/design/publicheader.php b/design/publicheader.php index 9eb3d59..7b7a253 100644 --- a/design/publicheader.php +++ b/design/publicheader.php @@ -11,7 +11,7 @@ define('FOOTER_FILE',SERVER_ROOT.'/design/publicfooter.php'); get_value("script_stats_$Script")) === false || $ScriptStats['mtime'] != filemtime(SERVER_ROOT.STATIC_SERVER."functions/$Script.js")) { $ScriptStats['mtime'] = filemtime(SERVER_ROOT.STATIC_SERVER."functions/$Script.js"); diff --git a/static/styles/global.css b/static/styles/global.css index 7331499..00a393f 100644 --- a/static/styles/global.css +++ b/static/styles/global.css @@ -934,6 +934,11 @@ input[type="search"] { max-width: 100%; } +#publickey { + width: initial; + font-family: monospace; +} + .hidden { display: none; }