Jean-Michel Hiver > MKDoc-Auth-0.5 > MKDoc::Auth::Plugin::Remove

Download:
MKDoc-Auth-0.5.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

MKDoc::Auth::Plugin::Remove - Let users remove their own accounts.

SUMMARY ^

This module lets users delete themselves.

INHERITS FROM ^

MKDoc::Auth::Plugin::Edit

$self->uri_hint();

Helps deciding what the URI of this plugin should be.

By default, returns 'edit.html'.

Can be overriden by setting the MKD__AUTH_DELETE_URI_HINT environment variable or by subclassing.

$self->http_post();

Deletes the user and redirects to $self->return_uri().