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

roudali.achraf24504
roudali.achraf24504

i had a problem with the User Plugin , cant make a sign out link always have the error: ajax handler 'onlogout' was not found any idea please!!!

Last updated

ndcisiv
ndcisiv

You need to make sure you have included the Session Component into your page somehow. I do mine through my default layout.

Then, you also want to make sure you have the proper case. Instead of 'onlogout', use 'onLogout' as that is the function name.

Should work fine then.

roudali.achraf24504
roudali.achraf24504

ndcisiv said:

You need to make sure you have included the Session Component into your page somehow. I do mine through my default layout.

Then, you also want to make sure you have the proper case. Instead of 'onlogout', use 'onLogout' as that is the function name.

Should work fine then.

Thank's man :D

ch.yasir657.ali52207
ch.yasir657.ali52207

i had a problem with the User Plugin , cant make a sign out link always have the error: ajax handler 'onRegister' was not found any idea please!!!

daftspunky
daftspunky

This is the same solution except you should make sure the account component is attached to the page or layout

1-5 of 5

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