Save creds to localstorage
This commit is contained in:
parent
22e18471db
commit
e28fde7ae1
3 changed files with 27 additions and 1 deletions
|
@ -12,7 +12,7 @@ var dis = require("../dispatcher");
|
|||
module.exports = React.createClass({
|
||||
getInitialState: function() {
|
||||
return {
|
||||
logged_in: false
|
||||
logged_in: !!mxCliPeg.get().credentials
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue