mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Removing the pattern/required flag from --mail in user_create was intentional because it's now deprecated ... + restablish support xn-- stuff...
This commit is contained in:
parent
c0234a75f5
commit
b48f6521e2
1 changed files with 4 additions and 8 deletions
|
@ -100,12 +100,6 @@ user:
|
||||||
-m:
|
-m:
|
||||||
full: --mail
|
full: --mail
|
||||||
help: (Deprecated, see --domain) Main unique email address
|
help: (Deprecated, see --domain) Main unique email address
|
||||||
extra:
|
|
||||||
ask: ask_email
|
|
||||||
required: True
|
|
||||||
pattern: &pattern_email
|
|
||||||
- !!str ^[\w.-]+@([^\W_A-Z]+([-]*[^\W_A-Z]+)*\.)+([^\W\d_]{2,})$
|
|
||||||
- "pattern_email"
|
|
||||||
-p:
|
-p:
|
||||||
full: --password
|
full: --password
|
||||||
help: User password
|
help: User password
|
||||||
|
@ -164,7 +158,9 @@ user:
|
||||||
-m:
|
-m:
|
||||||
full: --mail
|
full: --mail
|
||||||
extra:
|
extra:
|
||||||
pattern: *pattern_email
|
pattern: &pattern_email
|
||||||
|
- !!str ^[\w.-]+@([^\W_A-Z]+([-]*[^\W_A-Z]+)*\.)+((xn--)?[^\W_]{2,})$
|
||||||
|
- "pattern_email"
|
||||||
-p:
|
-p:
|
||||||
full: --change-password
|
full: --change-password
|
||||||
help: New password to set
|
help: New password to set
|
||||||
|
@ -177,7 +173,7 @@ user:
|
||||||
metavar: MAIL
|
metavar: MAIL
|
||||||
extra:
|
extra:
|
||||||
pattern: &pattern_email_forward
|
pattern: &pattern_email_forward
|
||||||
- !!str ^[\w\+.-]+@([^\W_A-Z]+([-]*[^\W_A-Z]+)*\.)+([^\W\d_]{2,})$
|
- !!str ^[\w\+.-]+@([^\W_A-Z]+([-]*[^\W_A-Z]+)*\.)+((xn--)?[^\W_]{2,})$
|
||||||
- "pattern_email_forward"
|
- "pattern_email_forward"
|
||||||
--remove-mailforward:
|
--remove-mailforward:
|
||||||
help: Mailforward addresses to remove
|
help: Mailforward addresses to remove
|
||||||
|
|
Loading…
Add table
Reference in a new issue