مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
admins don't need to verify domain ownership
هذا الالتزام موجود في:
@@ -22,14 +22,15 @@
|
||||
.fieldSet__field
|
||||
= f.label :name, :class => 'fieldSet__label'
|
||||
.fieldSet__input= f.text_field :name, :autofocus => true, :class => 'input input--text'
|
||||
.fieldSet__field
|
||||
= f.label :verification_method, :class => 'fieldSet__label'
|
||||
.fieldSet__input
|
||||
= f.select :verification_method, Domain::VERIFICATION_METHODS, {}, :class => 'input input--select'
|
||||
.fieldSet__text
|
||||
Choose how you'd like to verify your ownership of this domain. If you choose <b>E-Mail</b> we can send you
|
||||
an email with a code whcih you'll need to enter - you can choose from a set of pre-defined addresses for
|
||||
the domain. Using <b>DNS</b> you'll need to add a TXT record on this domain using your DNS provider.
|
||||
- unless current_user.admin?
|
||||
.fieldSet__field
|
||||
= f.label :verification_method, :class => 'fieldSet__label'
|
||||
.fieldSet__input
|
||||
= f.select :verification_method, Domain::VERIFICATION_METHODS, {}, :class => 'input input--select'
|
||||
.fieldSet__text
|
||||
Choose how you'd like to verify your ownership of this domain. If you choose <b>E-Mail</b> we can send you
|
||||
an email with a code whcih you'll need to enter - you can choose from a set of pre-defined addresses for
|
||||
the domain. Using <b>DNS</b> you'll need to add a TXT record on this domain using your DNS provider.
|
||||
|
||||
.fieldSetSubmit
|
||||
= f.submit :class => "button button--positive js-form-submit"
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم