Issue #2637 fixed
This commit is contained in:
parent
7ed5943642
commit
a0f17a1866
|
|
@ -21,6 +21,7 @@
|
|||
<select name="mail_encryption" class="control">
|
||||
<option value="ssl">SSL</option>
|
||||
<option value="tls">TLS</option>
|
||||
<option value="">None</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@ $data = array();
|
|||
if (empty($_POST['mail_username']))
|
||||
$errors['mail_username'] = 'Please enter your email address or username.';
|
||||
|
||||
if (preg_match('/\s/', $_POST['mail_username']))
|
||||
$errors['mail_username'] = 'There should be no space in Username.';
|
||||
|
||||
if (empty($_POST['mail_password']))
|
||||
$errors['mail_password'] = 'Please enter the password for this email address.';
|
||||
|
||||
|
|
|
|||
|
|
@ -52,13 +52,12 @@
|
|||
@slot('subcopy')
|
||||
@lang(
|
||||
"If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\n".
|
||||
'into your web browser: [:displayableActionUrl](:actionURL)',
|
||||
'into your web browser: [:actionURL](:actionURL)',
|
||||
[
|
||||
'actionText' => $actionText,
|
||||
'actionURL' => $actionUrl,
|
||||
'displayableActionUrl' => $displayableActionUrl,
|
||||
]
|
||||
)
|
||||
@endslot
|
||||
@endisset
|
||||
@endcomponent
|
||||
@endcomponent
|
||||
|
|
|
|||
Loading…
Reference in New Issue