This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

anshulkumar202864518
anshulkumar202864518

I know to add it on Laravel using middleware. How can i add logoutOtherDevices() in october cms.

Last updated

daftspunky
daftspunky

Go to the user settings and enable "Block persistence", when enabled users cannot sign in to multiple devices at the same time

Hope this helps

yangzie119217238
yangzie119217238

daftspunk said:

Go to the user settings and enable "Block persistence", when enabled users cannot sign in to multiple devices at the same time

Hope this helps

Block persistence Setting? Where?

daftspunky
daftspunky

The setting is in this file plugins\rainlab\user\config\config.php

Read the documentation on how to modify these settings within your application: https://octobercms.com/docs/plugin/settings#file-configuration

You basically create your own file called config\rainlab\user\config.php and set the value inside there.

<?php

return [
    'blockPersistence' => true,
];

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.