how to login with manual account with cas enabled

how to login with manual account with cas enabled

by shpetim aliaj -
Number of replies: 5

Hi Guys,


is there any way to specify the auth method to manual on the url so moodle does not redirect you to CAS and you can login as manual user.

If CAS is enabled when you click login it sends you to cas server so you dont have the manual login option even if it is enabled.

=Tim

Average of ratings: -
In reply to shpetim aliaj

Re: how to login with manual account with cas enabled

by Ken Task -
Picture of Particularly helpful Moodlers
Mind sharing a screen shot of your login page?

You might need to investigate an altlogin page setup for manual.

https://docs.moodle.org/311/en/Managing_authentication
'SoS', Ken
In reply to Ken Task

Re: how to login with manual account with cas enabled

by Dhanaraj Siddappa -
Iam using and learning Moodle

I have one question and doubt

How to avoide the student login login with one username and password credentials with other system's

If 2nd student login with using student username and password

Then the 1st student who has logged in already with same credentials has to logged out

This will be done by code wise how to do this please anyone help



Thank you.
In reply to Ken Task

Re: how to login with manual account with cas enabled

by Dhanaraj Siddappa -
hi Ken Task,

please know me,

An alert in the form of Web Notification (under the bell icon in
the login page) and email needs to be sent by Moodle based
upon some rules/condition.
Some rules are following:
(1). faculty has not entered the grade of all the students after the given deadline,
(2). faculty has not marked attendance of one or more session after number of days,
(3). faculty has not done the grade setup after the given deadline
In reply to Dhanaraj Siddappa

Re: how to login with manual account with cas enabled

by Dave Perry -
Picture of Testers
I'm not Ken, but I am a developer.
These sound like something you would write as a custom script - that uses a mix of moodle PHP functions and the database.
But how would you tell which faculty a user is from, when they aren't logged in? Your mention of the login page seems odd.
In reply to Dave Perry

Re: how to login with manual account with cas enabled

by Dhanaraj Siddappa -
hi dave perry,

it should popup the notification under the bell icon in moodle header,
but the conditions for that popup message is,

(1). faculty has not entered the grade of all the students after the given deadline
(2). faculty has not marked attendance of one or more session after number of days,
(3). faculty has not done the grade setup after the given deadline

it should popup the notification to both students and teacher.