cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti6: How to make sure the same user cannot login twice?

chrisx_212
Champ in-the-making
Champ in-the-making
Right now, I have a problem of one user being able to login in the same time from different browsers.

So let's say Admin logins with Firefox, and then in the same time, Admin logins with Chrome. This has an effect that if they add a new same app in the same time, then the app is duplicated and cannot be deleted.

Any way to work around this? And how do we do the 'account lock' thing?

Thanks.
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

Adding an app at the exact same time with the same account, looks like a very special case to me.
Of course there are possibilities to prevent the same account from logging in twice, but currently no logic like this has been implemented.

Best regards,

chrisx_212
Champ in-the-making
Champ in-the-making
My only workaround so far is to change the Primary Keys of the Runtime_App table to all of its columns. But the 'no login twice' could use some exploration.

Is this going to be researched and included for the full version, or do I have to customize the structure myself?