silverorange/swat

Make SwatForm::clearAuthenticationToken() per instance

Opened this issue · 0 comments

Allow you to have multiple forms on a page where one can be authenticated and other less important forms not authenticated. For example a newsletter sign up form on the bottom of the page doesn't need to be authenticated while other forms should be. As it stands SwatForm::clearAuthenticationToken() clears it globally for all SwatForm's during the runtime.