Don't check login if they are being forced to change password

bug 3044
This commit is contained in:
moodler
2005-04-27 13:51:55 +00:00
parent 79fb043e3e
commit 253e647478
+3 -1
View File
@@ -8,7 +8,9 @@
error('No such course!');
}
require_login($id);
if (empty($USER->preference['auth_forcepasswordchange'])) { // Don't redirect if they just got sent here
require_login($id);
}
if ($frm = data_submitted()) {