File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ $hints = [
20
20
),
21
21
'admin ' => sprintf (
22
22
'<p>%s</p> ' ,
23
- 'A unique URL helps keep store and customer info safer. '
23
+ 'A unique URL helps keep your store and customers safer. Use only letters, numbers, and underscore characters . '
24
24
)
25
25
];
26
26
?>
@@ -101,6 +101,7 @@ $hints = [
101
101
class="form-el-input"
102
102
type="text"
103
103
name="admin"
104
+ ng-pattern="/^[a-zA-Z0-9_]+$/"
104
105
ng-model="config.address.admin"
105
106
ng-class="{'invalid' : webconfig.admin.$invalid && webconfig.submitted }"
106
107
ng-init="config.address.admin = '<?php echo $ this ->autoAdminPath ?> ';"
@@ -111,8 +112,8 @@ $hints = [
111
112
tooltip-append-to-body="true"
112
113
>
113
114
<div class="error-container">
114
- <span ng-show="webconfig.admin.$error.required ">
115
- Please enter a valid admin URL path.
115
+ <span ng-show="webconfig.admin.$error">
116
+ Please enter a valid admin URL path. Use only letters, numbers, and underscore characters.
116
117
</span>
117
118
</div>
118
119
</div>
You can’t perform that action at this time.
0 commit comments