Skip to content

Commit e7ebce8

Browse files
mohsin-tkxelCptTony
authored andcommitted
Merge pull request #1623 from ActiveLearningStudio/change/cur4693-sso_message
Adding some extra messaging to the lti sso error messaging
1 parent 18bcda9 commit e7ebce8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/containers/Auth/CanvasLtiLogin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ function CanvasLtiSSO(props) {
4848
}
4949
})
5050
.catch((err) => {
51+
const error = Array.isArray(err.errors) ? err.errors[0] : err;
5152
Swal.fire({
5253
icon: 'error',
5354
title: 'Failed to login!',
54-
html: Array.isArray(err.errors) ? err.errors[0] : err,
55+
html: `<p>${error}</p><p>Please contact support at <a href="https://www.currikistudio.org/" target="_blank">Currikistudio.org</a></p>`,
5556
});
5657
});
5758
}

0 commit comments

Comments
 (0)