summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/views/user/profile.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/views/user/profile.php b/application/views/user/profile.php
index 1aa22ec10..fbd29f474 100644
--- a/application/views/user/profile.php
+++ b/application/views/user/profile.php
@@ -41,6 +41,8 @@
<div class="row vertical-space-small"></div>
+<?php if(auth_driver_function_implemented("can_delete_account")) { ?>
<div class="row">
<p>If you want to permanently delete your account, please click <a href="<?php echo site_url("user/delete_account"); ?>">here</a>.</p>
</div>
+<?php } ?>