MediaWiki:如何使用非本机身份验证PHP创建新用户

时间:2022-04-24 01:22:51

I have Invision Power Board web-forum. I want to add MediaWiki to this forum. Found this extension for mediawiki: http://www.mediawiki.org/wiki/Extension:IPBAuth

我有Invision Power Board网络论坛。我想将MediaWiki添加到此论坛。找到mediawiki的这个扩展名:http://www.mediawiki.org/wiki/Extension:IPBAuth

It's all right, but I need to authenticate users by email, not by user logins.

没关系,但我需要通过电子邮件验证用户,而不是通过用户登录。

I've changed some SQL in this extension, but even if I auth users by email they created in mediawiki db with login like email.

我已在此扩展中更改了一些SQL,但即使我通过电子邮件授权用户,他们也会在mediawiki数据库中使用电子邮件等登录方式创建。

How can I check users by email, but create and authenticate them in MediaWiki by login ?

如何通过电子邮件检查用户,但是通过登录在MediaWiki中创建和验证用户?

Best regards,

最好的祝福,

1 个解决方案

#1


0  

You may want to look into the code of this extension.

您可能想要查看此扩展的代码。

http://www.mediawiki.org/wiki/Extension:Windows_NTLM_LDAP_Auto_Auth

http://www.mediawiki.org/wiki/Extension:Windows_NTLM_LDAP_Auto_Auth

It automatically creates accounts when users are authenticated based on their network account in a Windows environment.

当用户根据Windows环境中的网络帐户进行身份验证时,它会自动创建帐户。

#1


0  

You may want to look into the code of this extension.

您可能想要查看此扩展的代码。

http://www.mediawiki.org/wiki/Extension:Windows_NTLM_LDAP_Auto_Auth

http://www.mediawiki.org/wiki/Extension:Windows_NTLM_LDAP_Auto_Auth

It automatically creates accounts when users are authenticated based on their network account in a Windows environment.

当用户根据Windows环境中的网络帐户进行身份验证时,它会自动创建帐户。