SHA256
Промежуточно: синхронизировать регистр логинов
This commit is contained in:
@@ -18,6 +18,8 @@ export function render({navigate}) {
|
||||
local.autocomplete='off';local.spellcheck=false;local.autocapitalize='off';
|
||||
local.value=String(state.registrationDraft.login || '').split('@')[0];
|
||||
const full=document.createElement('p'); full.className='meta-muted';
|
||||
const caseNotice=document.createElement('p'); caseNotice.className='meta-muted';
|
||||
caseNotice.textContent='Регистр букв в логине сохранится навсегда. Например, AlexSmith@shine нельзя будет переименовать в alexsmith@shine. При входе и поиске регистр не важен.';
|
||||
const password=document.createElement('input'); password.className='input';password.type='password';
|
||||
password.autocomplete='new-password';password.maxLength=PASSWORD_MAX_LENGTH;
|
||||
password.placeholder='Пароль';password.value=state.registrationDraft.password || '';
|
||||
@@ -26,7 +28,7 @@ export function render({navigate}) {
|
||||
const nsLabel=document.createElement('label');nsLabel.className='stack';nsLabel.textContent='Пространство имён'; nsLabel.append(namespace);
|
||||
const methodLabel=document.createElement('label');methodLabel.className='stack'; methodLabel.textContent='Способ регистрации';methodLabel.append(method);
|
||||
const pwLabel=document.createElement('label');pwLabel.className='stack';pwLabel.textContent='Пароль (ключи остаются только у вас)';pwLabel.append(password);
|
||||
form.append(methodLabel,nsLabel,local,full,pwLabel,status,action);
|
||||
form.append(methodLabel,nsLabel,local,full,caseNotice,pwLabel,status,action);
|
||||
let namespaces=[]; let disposed=false; let inputRevision=0; let submission=0;
|
||||
const feeToSol = fee => (Number(fee || '0')/1e9).toFixed(6);
|
||||
function selected() { return namespaces.find(n=>n.name===namespace.value); }
|
||||
|
||||
Reference in New Issue
Block a user