Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

Re: changing required fields for new students

$
0
0
by Michael E.  

Go into lib/moodlelib.php and search for

 

function user_not_fully_set_up($user) {
    if (isguestuser($user)) {
        return false;
    }
    return (empty($user->firstname) or empty($user->lastname) or empty($user->email) or over_bounce_threshold($user));

}



and delete the part: "or empty($user->email)"

so your return string looks like:

    return (empty($user->firstname) or empty($user->lastname) or over_bounce_threshold($user));

 

Hope that helps.

 


Viewing all articles
Browse latest Browse all 8256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>