Skip to content
Snippets Groups Projects
Commit 99b7208f authored by Dorian Marco's avatar Dorian Marco
Browse files

Merge branch 'bugfix/login-v1' into 'develop'

fix(auth) fix v1 login

See merge request !32
parents 444d61cd 6b8e5bd3
No related branches found
No related tags found
1 merge request!32fix(auth) fix v1 login
Pipeline #40205 waiting for manual action
......@@ -78,12 +78,12 @@ export class AuthModal implements OnInit, AuthModalOptions {
try {
data = data || this.form.value;
data.v2.mnemonic = data.v2.mnemonic.trim();
// Disable the form
this.form.disable();
if (this.loginMethod === 'v2') {
data.v2.mnemonic = data.v2.mnemonic.trim();
if (data.v2.mnemonic.includes('//')) {
const account = await this.accountService.addAccount(data);
return this.modalCtrl.dismiss(account, <AuthModalRole>'VALIDATE');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment