Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Login: Display storage warning even when opened with an authlink
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Jul 9, 2019
1 parent 1abfbde commit 9934aca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/containers/Login/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ class Login extends Component {
return
}

if (!this.isStorageAvailable) {
return this.setState({ unavailableStorage: true })
}

const hash = window.location.hash.substr(7) // ignore #/link/ characters
if (!hash.length) return
const decoded = Buffer.from(hash, 'base64')
Expand Down

0 comments on commit 9934aca

Please sign in to comment.