Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Setup autologin from a cookie for development purposes #40

Merged
merged 2 commits into from
Mar 6, 2017

Conversation

slaweet
Copy link
Contributor

@slaweet slaweet commented Mar 2, 2017

A way to setup the cookie is to run the following in browser console:

angular.element(document.body).injector().get('$cookies').put('passphrase', 'stay undo beyond powder sand laptop grow gloom apology hamster primary arrive')

It's done the same way in lisk-ui: https://github.com/LiskHQ/lisk-ui/commit/af3c1e0b5cbf050d79ec63c431f9fb74c841d68d

Vit Stanislav added 2 commits March 2, 2017 16:12
by a cookie, for development purposes
The cookie can be set from browser console like this:
angular.element(document.body).injector().get('$cookies').put('peerStack',
'testnet')
@karmacoma karmacoma self-assigned this Mar 2, 2017
@karmacoma karmacoma merged commit 99c9c97 into development Mar 6, 2017
@karmacoma karmacoma deleted the save-passphrase-for-development branch March 7, 2017 10:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants