We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43fe445 commit ef76dbdCopy full SHA for ef76dbd
autologin.php
@@ -31,4 +31,4 @@
31
\auth_saml2\auto_login::finish((bool)$success, new moodle_url($url));
32
33
// Something strange went wrong, or somebody tried to directly link here.
34
-print_error('errorinvalidautologin', 'auth_saml2');
+throw new \moodle_exception(get_string('errorinvalidautologin', 'auth_saml2'));
0 commit comments