Skip to content

Commit 9fa6152

Browse files
nilsteampassnetnilsteampassnet
authored andcommitted
2.1.27
Fix for #2398, #2395, #2376
1 parent 6cabfd1 commit 9fa6152

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

changelog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
2.1.27
2+
3+
21/
4+
#2398 User unable to change their own password from profile window
5+
#2395 php warning in logs
6+
#2376 fix link in readme
7+
28
20/
39
#2394 knowledge base page characters appear with "?"
410
#2393 After Deleting User, KB Is Blank

includes/config/include.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
global $SETTINGS, $languagesList, $SETTINGS_EXT;
1313

1414
$SETTINGS_EXT['version'] = "2.1.27";
15-
$SETTINGS_EXT['version_full'] = $SETTINGS_EXT['version'].".20";
15+
$SETTINGS_EXT['version_full'] = $SETTINGS_EXT['version'].".21";
1616
$SETTINGS_EXT['tool_name'] = "TeamPass";
1717
$SETTINGS_EXT['one_day_seconds'] = 86400;
1818
$SETTINGS_EXT['one_week_seconds'] = 604800;

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ function updateLogonButton(timeToGo){
942942
if (isset($SETTINGS['enable_pf_feature']) && $SETTINGS['enable_pf_feature'] === "1") {
943943
echo '
944944
<div id="div_set_personal_saltkey" style="display:none;padding:4px;">
945-
<div style="text-align:center;margin:5px;padding:3px;" id="expected_psk_complexPw" class="ui-widget ui-state-active ui-corner-all hidden">', isset($SETTINGS['personal_saltkey_security_level']) === true && empty($SETTINGS['personal_saltkey_security_level']) === false ? $LANG['complex_asked']." : ".$SETTINGS_EXT['pwComplexity'][$SETTINGS['personal_saltkey_security_level']][1] : '', '</div>
945+
<div style="text-align:center;margin:5px;padding:3px;" id="expected_psk_complexPw" class="ui-widget ui-state-active ui-corner-all hidden">', isset($SETTINGS['personal_saltkey_security_level']) === true && empty($SETTINGS['personal_saltkey_security_level']) === false && isset($SETTINGS_EXT['pwComplexity']) === true ? $LANG['complex_asked']." : ".$SETTINGS_EXT['pwComplexity'][$SETTINGS['personal_saltkey_security_level']][1] : '', '</div>
946946
<table border="0">
947947
<tr>
948948
<td>

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
9999

100100
## Website
101101

102-
Visit [Teampass.net]( * @package /)
102+
Visit [Teampass.net](https://teampass.net/)
103103

104104
## Bugs
105105

sources/main.queries.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function mainQuery()
134134
$data = DB::query(
135135
"SELECT complexity
136136
FROM ".prefix_table("roles_title")."
137-
WHERE id IN (".$data_roles['fonction_id'].")
137+
WHERE id IN (".str_replace(';', ',', $data_roles['fonction_id']).")
138138
ORDER BY complexity DESC"
139139
);
140140
if (intval(filter_input(INPUT_POST, 'complexity', FILTER_SANITIZE_NUMBER_INT)) < intval($data[0]['complexity'])) {
@@ -367,7 +367,7 @@ function mainQuery()
367367
$ldap_user_never_auth = true;
368368
}
369369
}
370-
370+
371371
// Do treatment
372372
if ($counter === 0) {
373373
// Not a registered user !

0 commit comments

Comments
 (0)