Thursday 02 July 2009 1:48:24 am
Hi, I want to facilitate a logged user to delete user account himself.
I used following code
<form method="post" action={"content/action/"|ezurl}>
<input name="ContentNodeID" value="{$node.node_id}" type="text">
<input name="ContentObjectID" value="{$node.object.id}" type="text">
<input class="button" name="ActionRemove" value="Supprimer" title="Supprimer cet élément." type="submit"> </form>
and set user role as content remove Class( User ) , Section( Users ) User can delete his record. The problem is once deleted it redirected to http://www.mysite.com/Users/Utilisateurs. So the user do not have permission to view this area. I want to redirect to home page once deleted the details. Also I want to logout the logged user. Can anyone help on this matter.
Thanks.
-------------------------------- http://www.eyepax.com
http://www.eyepax.com
|