make email field readonly

This commit is contained in:
Jannis Portmann 2021-05-04 11:53:08 +02:00
parent b190f94213
commit 4fd13f7dde

View file

@ -18,7 +18,7 @@
<h3 class="mb-3 font-weight-normal">Change your user data</h3>
<div class="mb-3">
<label for="inputEmail" class="form-label">Email address</label>
<input name="email" type="email" class="form-control" id="inputEmail" aria-describedby="emailHelp" placeholder="{{ app.user.email }}" required>
<input name="email" type="email" class="form-control" id="inputEmail" aria-describedby="emailHelp" placeholder="{{ app.user.email }}" readonly>
</div>
<div class="mb-3">
<label for="inputPassword">Password</label>