Page 1 of 1
s07e06 - Access Notifier QUESTIONS/SUPPORT
Posted: Thu Mar 25, 2021 10:42 am
by burt
Addon:
Sends email to shopowner every time a successful admin login is made.
Download:
viewtopic.php?f=28&t=451
--
Support Questions and Chat about this PRO addon.
Re: s07e06 - Access Notifier SUPPORT
Posted: Thu Mar 25, 2021 6:11 pm
by ArtcoInc
@burt
Thank you for yet another wonderful add-on. Quick question ...
The read.me file states, "You should receive an email with some data about who just logged in."
1) Does this work ONLY when someone SUCCESSFULLY logs in?
2) Can it record when someone TRIES to log in, but is UNSUCCESSFUL?
3) If #2 above, can it be set up to ONLY record (and email) unsuccessful attempts?
For me, as a one-man-band, it's more important for me to know when someone else ATTEMPTS to log in. I don't need an email every time I log in. <g>
Thanks again!
Malcolm
Re: s07e06 - Access Notifier SUPPORT
Posted: Thu Mar 25, 2021 6:25 pm
by burt
1. Yes
2. Yes
3. Yes
But it would need an extra bit in the hook code. Which as of this moment, does not exist as the shopowner for whom it was made did not want that - he simply wanted immediate email on each successful login. The details you are looking for are already existing at admin/action_recorder.php (ie all logins).
Re: s07e06 - Access Notifier SUPPORT
Posted: Thu Mar 25, 2021 7:27 pm
by ecartz
Is it really more than two lines to change?
Code: Select all
public function listen_processActionFail() {
Code: Select all
$username = $GLOBALS['username'];
I can't see anything else necessary. Well, maybe the language file.