Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Some cleanups

  • Loading branch information...
commit c29890b5d8946ec28d7d1376dc99c5fb1bf16419 1 parent 8f0cd6e
paca70 authored
Showing with 5 additions and 4 deletions.
  1. +1 −1  lang/en/auth.php
  2. +4 −3 user/edit.html
View
2  lang/en/auth.php
@@ -95,6 +95,6 @@
$string['stdchangepassword_expl'] = 'If the external authentication system allows password changes through Moodle, switch this to Yes. This setting overrides \'Change Password URL\'.';
$string['stdchangepassword_explldap'] = 'NOTE: It is recommended that you use LDAP over an SSL encrypted tunnel (ldaps://) if the LDAP server is remote.';
$string['forcechangepassword'] = 'Force change password';
-$string['forcechangepassword_help'] = 'Force users to change password on their first login to Moodle.';$string['guestloginbutton'] = 'Guest login button';
+$string['forcechangepassword_help'] = 'Force users to change password on their next login to Moodle.';$string['guestloginbutton'] = 'Guest login button';
?>
View
7 user/edit.html
@@ -56,16 +56,17 @@
}
echo " </td>";
echo "</tr>\n";
- if(!$adminself && ($CFG->{'auth_'.$user->auth.'_stdchangepassword'} || $CFG->changepassword)){
+ if(!$adminself && (isset($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || $CFG->changepassword)){
echo "<tr>";
- echo '<td align=right><p>'.get_string('forcepasswordchange').':</td>';
- echo '<td><input type="checkbox" name="forcepasswordchange" />'.get_string('forcepasswordchange_help').'</td>';
+ echo '<td align=right><p>'.get_string('forcechangepassword', 'auth').':</td>';
+ echo '<td><input type="checkbox" name="forcepasswordchange" />'.get_string('forcechangepassword_help','auth').'</td>';
echo "</tr>";
}
echo "<tr><td colspan=\"2\"><hr /></td></tr>";
}
}
+
?>
<tr valign="top">
<td align="right"><?php print_string("firstname") ?>:</td>
Please sign in to comment.
Something went wrong with that request. Please try again.