Don't check login if they are being forced to change password
bug 3044
This commit is contained in:
@@ -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()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user