Jump to content


Photo

how to place login time in audit trail

audit trail

  • Please log in to reply
5 replies to this topic

#1 bernabe

bernabe

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 23 May 2014 - 01:18 AM

Hi,

 

I'm trying to customize the audit trail. I know that the audit trail is a history of changes made to a record. Now, I want to place/add the login time of a user on the audit trail. How do I achieve this? Which file/s do I need to edit? 



#2 speixoto

speixoto

    Advanced Member

  • Members
  • PipPipPip
  • 386 posts

Posted 23 May 2014 - 06:26 PM

That is already saved in the audit table. You can check the DB to confirm this. We may need to add something to show it in the user audit trail list i think.



#3 Mot Sok

Mot Sok

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 26 May 2014 - 01:44 AM

That is already saved in the audit table. You can check the DB to confirm this. We may need to add something to show it in the user audit trail list i think.

May I ask which files are to be edited? Is it the UsersModule.php?



#4 bernabe

bernabe

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 28 May 2014 - 01:25 AM

That is already saved in the audit table. You can check the DB to confirm this. We may need to add something to show it in the user audit trail list i think.

Yes, it is already saved in the DB. what I want to know is how to add it to the audit trail of the user. Any idea what files needs to be edited? 



#5 speixoto

speixoto

    Advanced Member

  • Members
  • PipPipPip
  • 386 posts

Posted 28 May 2014 - 12:59 PM

This was a bug fixed here: https://bitbucket.or...80d5a55db70ce1c

You can wait for 2.7.3 or replicate the fix in your instance



#6 bernabe

bernabe

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 29 May 2014 - 01:51 AM

Thank you speixoto for your help. 







Also tagged with one or more of these keywords: audit trail

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users