Add additional methods to Cuba's login button

My project requires the last successful or unsuccessful login date to be stored and later displayed to the user upon logging in.

How do I add additional methods to Cuba’s login button? I would like to update a table with the respective dates whenever the authentication pass or fail when a user click on login.

Hi,
You can use one of authentication events:
https://doc.cuba-platform.com/manual-7.2/login.html#login_events

Or you can create the custom login screen in your application. There is “Login screen” template in the screen wizard in Studio.

Thanks @albudarov I have created a bean with login events, it works :+1: