How do you force a client's game to crash when they are banned. (VR Game)

I want to learn how to force a player’s game to crash or something along those lines when they get banned. Currently if a player gets banned, they remain logged in and unbanned until they close their game. Is there a way to make the player get auto disconnected on ban? I am using Photon Engine for the servers, and PlayFab for banning etc.

Thank you!

Application.Quit() :wink:

Every time a client connects, it authenticates. This is where the ban can be checked.
You could make your game disconnect after every session and connect again, instead of just leaving the room (which keeps using the session).

I have discovered another way to make this work using application quitting. Thank you for the help!