mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 06:52:40 +00:00
Prevent using localhost on auxiliary IMAP accounts
This commit is contained in:
1 parent
68ddcd7045
commit
c663f7ab4c
4 files changed
+10
-1
No files matched your search
@@ -27,9 +27,13 @@
|
||||
<div layout="row">
|
||||
<md-input-container class="md-block md-flex">
|
||||
<label><var:string label:value="Server Name"/></label>
|
||||
<input type="text" required="required"
|
||||
<input name="serverName" type="text" required="required"
|
||||
ng-pattern="$AccountDialogController.hostnameRE"
|
||||
ng-disabled="$AccountDialogController.accountId == 0"
|
||||
ng-model="$AccountDialogController.account.serverName"/>
|
||||
<div ng-messages="accountForm.serverName.$error" role="alert">
|
||||
<div ng-message="pattern"><var:string label:value="Specify a hostname other than the local host"/></div>
|
||||
</div>
|
||||
</md-input-container>
|
||||
|
||||
<md-input-container class="md-block" flex="30">
|
||||
|
||||
Reference in new issue
Block a user