Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dev Turn off password warning off on change or turn it on if password…
… is changed to password.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11113 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
David Olivier committed Oct 6, 2011
1 parent 1d515ed commit 9e9b9e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/controllers/admin/user.php
Expand Up @@ -433,6 +433,9 @@ function moduser()
$addsummary .= "<div class=\"successheader\">".$clang->gT("Success!")."</div>\n";
} elseif($uresult && !empty($sPassword))
{
if ($sPassword != 'password' ) $this->session->set_userdata('pw_notify',false);
if ($sPassword == 'password' ) $this->session->set_userdata('pw_notify',true);

if ($display_user_password_in_html === true)
{
$displayedPwd = $sPassword;
Expand Down

0 comments on commit 9e9b9e4

Please sign in to comment.