Jump to content

Login Fail Notifier


tcnet
 Share

Recommended Posts

This module for ProcessWire sends a notification email for each failed login attempt. Similar modules exists already in the module directory of ProcessWire. However, this module is designed to notify, even if specified user doesn't exist.

Settings
The settings for this module are located in the menu Modules=>Configure=>LoginFailNotifier.

  • Notification email
    Specifies the email address to which the notification emails should be sent.
     
  • Email subject
    Specifies the subject line for the notification email.
     
  • Post variables
    Specifies the $_POST variables to be included in the notification email. Each variable must be separated by a comma. For example: login_name,login_pass
     
  • Server variables
    Specifies the $_SERVER variables to be included in the notification email. Each variable must be separated by a comma. For example: REMOTE_ADDR,HTTP_USER_AGENT

spacer.png

Link to ProcessWire module directory:
https://processwire.com/modules/login-fail-notifier/

Link to github.com:
https://github.com/techcnet/LoginFailNotifier

Edited by tcnet
Added links to ProcessWire module directory and github.com.
  • Like 3
Link to comment
Share on other sites

  • 10 months later...

Hi @tcnet,

This Module seems to be exactly what I have been searching for.

But testing it doesn't work in the way that the E-Mail won't be sent and the Error "LoginFailNotifier Failed to send email." gets logged.

image.thumb.png.6eff0d4dd8f3d27f90943deaf5a30001.png

 

Do you have an idea what could be the problem? Does it have there any dependencies that aren't declared in the module info ore something like that? it's installed on Processwire v.3.0.165 

Thanks in advance!

Link to comment
Share on other sites

3 minutes ago, Mark Maier said:

Hi @tcnet,

This Module seems to be exactly what I have been searching for.

But testing it doesn't work in the way that the E-Mail won't be sent and the Error "LoginFailNotifier Failed to send email." gets logged.

image.thumb.png.6eff0d4dd8f3d27f90943deaf5a30001.png

 

Do you have an idea what could be the problem? Does it have there any dependencies that aren't declared in the module info ore something like that? it's installed on Processwire v.3.0.165 

Thanks in advance!

That error message means that WireMail can not send the email. Maybe your mailer implementation doesn't work.

Link to comment
Share on other sites

In case anybody else comes upon a similar problem (calling wiremail in every other instance worked just fine)
removing this from the module file (line 62) actually did the trick:

$mailer->param('-f '.$data['notification_email']);

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...