Add password-reveal directive for password inputs

This commit is contained in:
Johannes Zellner
2021-11-03 21:57:44 +01:00
parent 45596e29cd
commit 11fc5248c2
13 changed files with 38 additions and 37 deletions

View File

@@ -549,7 +549,7 @@
<div class="control-label" ng-show="(!mailRelayForm.password.$dirty && mailRelay.error.password) || (mailRelayForm.password.$dirty && mailRelayForm.password.$invalid)">
<small ng-show="!mailRelayForm.password.$dirty && mailRelay.error.password">{{ mailRelay.error.password }}</small>
</div>
<input type="password" class="form-control" ng-model="mailRelay.relay.password" name="password" ng-required="usesPasswordAuth(mailRelay.relay.provider)">
<input type="password" class="form-control" ng-model="mailRelay.relay.password" name="password" ng-required="usesPasswordAuth(mailRelay.relay.provider)" password-reveal>
</div>
<input class="ng-hide" type="submit" ng-disabled="mailRelayForm.$invalid"/>