Beginning cleanup stage
This commit is contained in:
@@ -130,8 +130,8 @@
|
||||
//on login see if user name fields are set and if not copy from saml when using saml, and then reload
|
||||
if (Registry::AUTHMETHOD == 'SAML') {
|
||||
if ($StaticFunctions->getUserSessionStatus() == true) {
|
||||
if (empty($Users->getUserInitials($uid)[0]["users_lastname"])) {
|
||||
$Users->updateSAMLName($uid, $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname'][0], $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname'][0]);
|
||||
if (empty($Users->readUserFirstAndLast($uid)[0]["users_lastname"])) {
|
||||
$Users->updateSamlFirstAndLast($uid, $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname'][0], $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname'][0]);
|
||||
?>
|
||||
|
||||
<div class="jumbotron">
|
||||
@@ -340,7 +340,7 @@ $(document).on("click", ".open-voidModal", function (e) {
|
||||
<span class="badge badge-light"><?php echo $transLang['BADGE']; ?></span> <?php echo $row['visits_badge']; ?>
|
||||
</div>
|
||||
<div>
|
||||
<span class="badge badge-light"><?php echo $transLang['SIGNINBY']; ?></span> <?php echo $Users->getUserInitials($row['visits_initials'])[0]["users_firstname"] . " " . $Users->getUserInitials($row['visits_initials'])[0]["users_lastname"]; ?>
|
||||
<span class="badge badge-light"><?php echo $transLang['SIGNINBY']; ?></span> <?php echo $Users->readUserFirstAndLast($row['visits_initials'])[0]["users_firstname"] . " " . $Users->readUserFirstAndLast($row['visits_initials'])[0]["users_lastname"]; ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user