Skip to content

Commit

Permalink
Merge pull request #15 from MikhailKavalenka/ol-login
Browse files Browse the repository at this point in the history
Clean up.
  • Loading branch information
MikhailKavalenka committed Oct 17, 2018
2 parents c8f2a66 + 5765bd5 commit d0e2d8e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/components/Login/DecryptBackup.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, {Component} from "react";
import PropTypes from "prop-types";
// import { browserHistory } from "react-router/es";
import {connect} from "alt-react";
import Translate from "react-translate-component";
import {PrivateKey} from "bitsharesjs/es";
Expand All @@ -15,10 +14,6 @@ import BackupActions, {restore} from "actions/BackupActions";
import notify from "actions/NotificationActions";
import SettingsActions from "actions/SettingsActions";
import Icon from "../Icon/Icon";
import ls from "common/localStorage";

const STORAGE_KEY = "__graphene__";
const ss = new ls(STORAGE_KEY);

class DecryptBackup extends Component {
static propTypes = {
Expand Down Expand Up @@ -56,7 +51,6 @@ class DecryptBackup extends Component {
const {backupPassword} = this.state;
WalletDb.validatePassword(backupPassword || "", true);
WalletUnlockActions.change();
ss.set("isAuthentificated", true);
SettingsActions.changeSetting({
setting: "passwordLogin",
value: false
Expand Down

0 comments on commit d0e2d8e

Please sign in to comment.