mirror of
https://github.com/bitwarden/server.git
synced 2025-01-15 20:41:35 +01:00
Make billing email field uneditable for organizations' (#3591)
Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
This commit is contained in:
parent
2df5fe1340
commit
52f3fa0f95
@ -276,20 +276,7 @@
|
|||||||
<div class="col-sm">
|
<div class="col-sm">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="BillingEmail"></label>
|
<label asp-for="BillingEmail"></label>
|
||||||
@if (Model.Provider?.Type == ProviderType.Reseller)
|
<input type="email" class="form-control" asp-for="BillingEmail" readonly="readonly">
|
||||||
{
|
|
||||||
<input type="email" class="form-control" asp-for="BillingEmail" readonly="readonly">
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
class="form-control"
|
|
||||||
asp-for="BillingEmail"
|
|
||||||
readonly='@(!canEditBilling)'
|
|
||||||
pattern="@(@"[^@\s]+@[^@\s]+\.[^@\s]+")"
|
|
||||||
title="Email address must be in the format 'address@domain.com'.">
|
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm">
|
<div class="col-sm">
|
||||||
|
Loading…
Reference in New Issue
Block a user