We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 754004e commit c15fd1bCopy full SHA for c15fd1b
1 file changed
xapi_stmt_gen/xapi_stmt_gen/generator.js
@@ -3720,7 +3720,7 @@ module.exports = async function main() { // eslint-disable-line max-statements
3720
let newEppns = [];
3721
for (const user of users) {
3722
// Use alternatename as username if authenticated using GakuNinLMS's LTI plugin
3723
- const username = (user.auth = 'lti' && config.LRS.ePPNScoped) ? user.alternatename : user.username;
+ const username = (user.auth === 'lti' && config.LRS.ePPNScoped) ? user.alternatename : user.username;
3724
const eppn = eppns.find((eppn) => {
3725
if (eppn['username'] === username) {
3726
return eppn;
0 commit comments