diff options
author | Malf Furious <m@lfurio.us> | 2016-05-21 19:50:01 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-05-21 19:50:01 -0400 |
commit | 4778b9dedb1583ba1091da8d55d5ea6bf62f3202 (patch) | |
tree | 90ae36f7f8064f471998fe31979133f6378d481e | |
parent | d431ef2954455ad38454d27f5be866061794b4bf (diff) | |
download | scrott-4778b9dedb1583ba1091da8d55d5ea6bf62f3202.tar.gz scrott-4778b9dedb1583ba1091da8d55d5ea6bf62f3202.zip |
Add 'Delete Account' button to user settings form
Links to a confirmation page which will require the user's current
password to succeed.
-rw-r--r-- | app/view/common/setting.modal.view.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index e43f723..845f4ed 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -108,6 +108,11 @@ </form> <p> </p> + <p> </p> + + <a href="<?=$mod->ar()?>/deleteaccount" class="btn btn-danger btn-xs pull-right"><span class="glyphicon glyphicon-trash"></span> Delete Account</a> + + <p> </p> </div> <?php if ($mod->getCurrentUser()->admin == 1) { ?> |