mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Add some notice in sign with seed
This commit is contained in:
parent
aed98f16bb
commit
55a48ff84a
2 changed files with 20 additions and 3 deletions
|
@ -9,7 +9,7 @@ namespace BTCPayServer.Models.WalletViewModels
|
|||
{
|
||||
[Required]
|
||||
public string PSBT { get; set; }
|
||||
[Required][Display(Name = "Seed(12/24 word mnemonic seed) Or HD private key(xprv...)")]
|
||||
[Required][Display(Name = "BIP39 Seed (12/24 word mnemonic phrase) or HD private key (xprv...)")]
|
||||
public string SeedOrKey { get; set; }
|
||||
|
||||
[Display(Name = "Optional seed passphrase")]
|
||||
|
|
|
@ -1,15 +1,32 @@
|
|||
@model SignWithSeedViewModel
|
||||
@{
|
||||
Layout = "../Shared/_NavLayout.cshtml";
|
||||
ViewData["Title"] = "Sign PSBT With an HD private key or mnemonic seed";
|
||||
ViewData["Title"] = "Sign PSBT with an HD private key or mnemonic seed";
|
||||
ViewData.SetActivePageAndTitle(WalletsNavPages.Send);
|
||||
}
|
||||
|
||||
<h4>Sign PSBT with an HD private key or mnemonic seed</h4>
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<div class="alert alert-warning alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<p>
|
||||
<span>Before you proceed, please understand the following:</span>
|
||||
</p>
|
||||
<ol>
|
||||
<li>Make sure this BTCPay Server instance <b>belongs to you</b>.</li>
|
||||
<li>Use <b>Chrome's Incognito mode or the Tor Browser</b>, this make sure no malicious browser plugin is running that could steal your key.</li>
|
||||
</ol>
|
||||
<p>
|
||||
<span>Else, you are exposing yourself to malicious site owner, or to malicious plugin installed in your browser.</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
<form method="post" asp-action="SignWithSeed">
|
||||
|
||||
<input type="hidden" asp-for="PSBT" />
|
||||
<div class="form-group">
|
||||
<label asp-for="SeedOrKey"></label>
|
||||
|
|
Loading…
Add table
Reference in a new issue