View Single Post
Old 8th September 2012, 19:44
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

You mix up the uspconfig server and the ispconfig interface. What you wrote above is a ispconfig server plugin, server plugins are used to configure services like apache, postfix etc. When you login to ispconfig, then you interact with the ispconfig interface and not the server, so if you want to react on failed logins, you will have tp write code for the interface and not the server. So your plugin can not work form a logical standpoint and it will never catch a interface event on the server.

If you want to log actions of the interface, take a look at the ispconfig svn to see how the login function that you want to replicate is implemented there.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote