developer documentation r22134

Logout

Logout

/action/v2/logout

Logs out the currently authenticated user

Supports redirectUrl param of fm:Form component as well as $_REQUEST['redirectUrl'] param to redirect the user after logout

Example

<fm:Form action="/action/v2/logout" method="post" redirectUrl="/home"> <fm:Form_Custom><button type="submit">Logout</button></fm:Form_Custom> </fm:Form>
<< 7.5.2 Login 7.5.4 Register >>