Jump to content

Recommended Posts

Posted (edited)

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
  • 10 months later...
Posted

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!

Posted
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.

Posted
3 minutes ago, tcnet said:

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

ah ok, thanks for the quick reply, I will look into that ?

Posted

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
Posted

Thanks for this info. But I by my self encountered the opposite on some systems. Not adding this line won't send the email.

Posted

I updated the module to 1.0.4 and added an option to specify the Return-Path in the email header. This option is blank by default.

  • Like 2

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
×
×
  • Create New...