English 中文(简体)
当日志不成时,将用户从Moodle转移到另一个地点
原标题:Redirecting users from Moodle to another site when login fails

I ve written a custom plugin that allows for url login. Users entering my Moodle site this way, all come from the same external site and can be identified based on the url. When their login fails, I would like to redirect them back to a "login failed" page on the external website, instead of the normal login failed routine on my own moodle site.

在Moodle,是否有职能将用户从认证的假想中转移? 问题的一部分是,到金刚金加工时,头盔已经处理。 因此,在标题中设定变量并不有效。

感谢任何帮助。

问题回答

我认为,你可以在你的 au本中用<代码>loginpage_hook()来做到这一点,因为在产出之前,这一条在你的gin本中使用了 mo锁代码的功能。 See .auth/ldap/auth.php for a non-trivial example of do that.





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Remotely authenticating client Windows user on demand

Suppose I am writing a server for a particular network protocol. If I know that the client is running on a Windows machine, is it possible for my server to authenticate the Windows user that owns the ...

Role/Permission based forms authorizing/authentication?

While looking into forms authorizing/authentication, I found that it is possible to do role based authorizing by adding an array of roles to a FormsAuthenticationTicket. That way I can write User....

热门标签