mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-21 01:07:49 +00:00
commit
cbca306fc1
3 changed files with 9 additions and 3 deletions
|
|
@ -1560,7 +1560,7 @@ function unset_tfa_key($_data) {
|
|||
}
|
||||
function get_tfa($username = null, $id = null) {
|
||||
global $pdo;
|
||||
if (isset($_SESSION['mailcow_cc_username'])) {
|
||||
if (empty($username) && isset($_SESSION['mailcow_cc_username'])) {
|
||||
$username = $_SESSION['mailcow_cc_username'];
|
||||
}
|
||||
elseif (empty($username)) {
|
||||
|
|
|
|||
|
|
@ -397,7 +397,10 @@ jQuery(function($){
|
|||
{
|
||||
title: lang.host,
|
||||
data: 'hostname',
|
||||
defaultContent: ''
|
||||
defaultContent: '',
|
||||
render: function (data, type) {
|
||||
return escapeHtml(data);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: lang.username,
|
||||
|
|
|
|||
|
|
@ -325,7 +325,10 @@ jQuery(function($){
|
|||
title: 'URI',
|
||||
data: 'uri',
|
||||
defaultContent: '',
|
||||
className: 'dtr-col-md dtr-break-all'
|
||||
className: 'dtr-col-md dtr-break-all',
|
||||
render: function (data, type) {
|
||||
return escapeHtml(data);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Method',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue