merchant-backoffice

ZZZ: Inactive/Deprecated
Log | Files | Refs | Submodules | README

commit 86d7aea467be60343e9026d25266bb541786707b
parent 1f89d3a791d201a1cbfe0a0993e648c4bcb61853
Author: Sebastian <sebasjm@gmail.com>
Date:   Thu, 25 Mar 2021 10:59:28 -0300

input token as text

Diffstat:
MCHANGELOG.md | 4++--
Mpackages/frontend/src/components/form/InputSecured.tsx | 2+-
Mpackages/frontend/src/paths/instance/update/UpdatePage.tsx | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -25,8 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - check if there is a way to remove auto async for /routes /components/{async,routes} so it can be turned on when building non-single-bundle - product detail: we could have some button that brings us to thedetailed screen for the product - - - BUG: updating instance, shoot POST /instance/default/private/auth with token method:token token:secret-token:undefined + + - https://bugs.gnunet.org/view.php?id=6815 ## [Unreleased] - complete order list information (#6793) diff --git a/packages/frontend/src/components/form/InputSecured.tsx b/packages/frontend/src/components/form/InputSecured.tsx @@ -74,7 +74,7 @@ export function InputSecured<T>({ name, readonly }: Props<T>): VNode { <a class="button is-static">secret-token:</a> </div> <div class="control is-expanded"> - <input class="input" type="password" + <input class="input" type="text" placeholder={placeholder} readonly={readonly || !active} disabled={readonly || !active} name={String(name)} value={newValue} diff --git a/packages/frontend/src/paths/instance/update/UpdatePage.tsx b/packages/frontend/src/paths/instance/update/UpdatePage.tsx @@ -74,7 +74,7 @@ export function UpdatePage({ onUpdate, isLoading, selected, onBack }: Props): VN // use conversion instead of this const newToken = value.auth_token; value.auth_token = undefined; - + //if new token was not set or has been set to the actual current token //it is not needed to send a change //otherwise, checked where we are setting a new token or removing it