Extension:LoginNotify/zh

The LoginNotify extension notifies you when someone logs into your account. It can be configured to give warnings after a certain number of failed login attempts (The number is configurable, and can be different between unknown IPs/devices and known IPs/devices). It can also give Echo notices (which can also be emailed) for successful logins from IPs you don't normally use. It can optionally integrate into the extension in order to determine if the login is from an IP address you don't normally use. It can also set a cookie to try and determine if the login is from a device you normally use.

安装
此扩展需要安装Echo扩展. This extension can optionally integrate with the CheckUser extension if it is installed, but does not require it.

用法
Once LoginNotify is installed, whenever a user logs into the wiki, their IP subnet is cached on the server and a cookie named  is stored in their browser. These tokens, optionally along with CheckUser tables, are used to see if subsequent logins are coming from a known IP/device.

If and  are installed, it will check the IP not only for the current wiki, but also the ten wikis where the user is most active.

配置
可以设置的参数（在“LocalSettings.php”中）：