DMXzone Security Provider PHP Support Product Page

Answered

Run an insert action if login successful

Asked 28 Nov 2017 03:06:32
1
has this question
28 Nov 2017 03:06:32 Brad Lawryk posted:
What I need to do is to when a user successfully logs in I need to track in a database the login user and time.

Where is the best place to add this action? Bind it to the form on 'Success'? or 'Done'?

Replies

Replied 28 Nov 2017 03:44:39
28 Nov 2017 03:44:39 Brad Lawryk replied:
I solved it! It was actually so simple. Simply added an insert action to the login action. Works so well.
Replied 28 Nov 2017 08:05:39
28 Nov 2017 08:05:39 Teodor Kuduschiev replied:
Hi Brad,
Yes, all you need is to either run a separate insert action onsuccess, orjust add an insert step, after the login step in the login action.

Reply to this topic