identidades: enlace a exportar e importar
Sacar o meter una identidad ya existente lo hace el modulo legacy, que es quien sabe cifrar el secret con una contraseña. Se enlaza desde la lista para que este donde se busca.
This commit is contained in:
parent
f465fb2288
commit
d843d47374
2 changed files with 6 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
module.exports = ({ i18n, html }) => {
|
||||
const { form, button, div, h2, p, section, input, span, ul, li } = html;
|
||||
const { form, button, div, h2, p, section, input, span, ul, li, a } = html;
|
||||
const accounts = require('../../backend/accounts.js');
|
||||
|
||||
const renderIdentities = (activeAccount) => {
|
||||
|
|
@ -60,6 +60,9 @@ module.exports = ({ i18n, html }) => {
|
|||
maxlength: "32", autocomplete: "off" }),
|
||||
button({ type: "submit" }, i18n.identitiesCreate)
|
||||
),
|
||||
// sacar o meter una identidad ya existente es cosa del modulo legacy, que
|
||||
// es el que sabe cifrar el secret con una contraseña
|
||||
p(a({ href: "/legacy", class: "identity-legacy" }, i18n.identitiesBackup)),
|
||||
restart
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue