How to restrict an account to one device at a time?

How to restrict an account to one device at a time?
Does any of the gods have any ideas

What’s the use case for this?

@susodapop
Hi~
My company use redash for data authority control, and then finds that some users log in to redash using other people’s accounts, that is, the same account logs in on multiple devices at the same time. My boss wants me to do a secondary development of redash to restrict the same account from logging in on different devices at the same time.I don’t have a mature idea at the moment,any suggestion would be appreciated!