summaryrefslogtreecommitdiffstats
path: root/application/views/user/profile.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-06-05 21:21:57 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-06-05 21:23:49 +0200
commitc5edcea7ad85ce93682ef20d5f47a093a5512163 (patch)
treeb03333c5181a27364cddb2478520a2bec2659dd9 /application/views/user/profile.php
parent80dd45e545d1ac96bbef536b18508a6bcb009203 (diff)
Allow users to change their email
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user/profile.php')
-rw-r--r--application/views/user/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/user/profile.php b/application/views/user/profile.php
index 74d786d3f..d04716b31 100644
--- a/application/views/user/profile.php
+++ b/application/views/user/profile.php
@@ -14,7 +14,7 @@
<div class="form-group col-lg-8 col-md-10">
<label class="control-label col-lg-2 col-md-2" for="inputEmail">Email</label>
<div class="col-lg-5 col-md-5">
- <input type="text" id="inputEmail" name="email" placeholder="Email" disabled="disabled" value="<?php echo $profile_data["email"]; ?>" class="form-control">
+ <input type="text" id="inputEmail" name="email" placeholder="Email" <?php if(!auth_driver_function_implemented("can_change_email")) { ?>disabled="disabled" <?php } ?>value="<?php echo $profile_data["email"]; ?>" class="form-control">
</div>
</div>
</div>