CAS Error:Internal script failure - On logging in

CAS Error:Internal script failure - On logging in

by li zhou -
Number of replies: 2

Moodle 3.10+

CAS setting is finished. but when I login in, there is error

Error:Internal script failure

so, I can't get the page"Site administration -> Plugins -> Authentication -> Manage authentication"

now, How can I stop or close  the CAS plugin?

Thanks.

Average of ratings: -
In reply to li zhou

Re: CAS Error:Internal script failure - On logging in

by Ken Task -
Picture of Particularly helpful Moodlers

You could restrict authentications to just manual by adding a line to your config.php file:

$CFG->auth='manual';

No need to reboot.

But, you must know an account that is set to manual and is admin level.  If you did not change defaults for the initial user that installed the moodle, user id 2 is admin level.

You could query your DB (mdl_user table) from command line to see users whose account authentication is set to manual.

mysql> select id,username,email from mdl_user where auth='manual';

'SoS', Ken


Average of ratings: Useful (1)
In reply to Ken Task

回复: Re: CAS Error:Internal script failure - On logging in

by li zhou -
Yes, that was it! Thank you very much!