mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Show a hidden property if defined to help debug
This commit is contained in:
parent
00657ace00
commit
891c0684fb
|
|
@ -133,3 +133,4 @@ HideAllPerms=Hide all permission rows
|
|||
UserPublicPageDesc=You can enable a virtual card for this user. An url with the user profile and a barcode will be available to allow anybody with a smartphone to scan it and add your contact to its address book.
|
||||
EnablePublicVirtualCard=Enable the user's virtual business card
|
||||
UserEnabledDisabled=User status changed: %s
|
||||
AlternativeEmailForOAuth2=Alternative Email for OAuth2 login
|
||||
|
|
|
|||
|
|
@ -1822,10 +1822,12 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
print "</table>\n";
|
||||
|
||||
|
||||
// Credentials
|
||||
// Credentials section
|
||||
|
||||
print '<br>';
|
||||
print '<div class="div-table-responsive-no-min">';
|
||||
print '<table class="border tableforfield centpercent">';
|
||||
|
||||
print '<tr class="liste_titre"><td class="liste_titre">';
|
||||
print img_picto('', 'security', 'class="paddingleft pictofixedwidth"').$langs->trans("Credentials");
|
||||
print '</td>';
|
||||
|
|
@ -1846,6 +1848,15 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
print '</td>';
|
||||
print "</tr>\n";
|
||||
|
||||
// Alternative email for OAUth2 login
|
||||
if (!empty($object->email_oauth2) && preg_match('/googleoauth/', $dolibarr_main_authentication)) {
|
||||
print '<tr class="nooddeven"><td class="titlefield">'.$langs->trans("AlternativeEmailForOAuth2").'</td>';
|
||||
print '<td>';
|
||||
print dol_print_email($object->email_oauth2);
|
||||
print '</td>';
|
||||
print "</tr>\n";
|
||||
}
|
||||
|
||||
// Password
|
||||
$valuetoshow = '';
|
||||
if (preg_match('/ldap/', $dolibarr_main_authentication)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user