We should clear /login off the URL after login

pull/21833/head
David Baker 2016-08-03 09:57:12 +01:00
parent 4825ab8fe7
commit e3a5776eae
1 changed files with 1 additions and 0 deletions

View File

@ -586,6 +586,7 @@ module.exports = React.createClass({
*/ */
_onLoggedIn: function(credentials) { _onLoggedIn: function(credentials) {
this.guestCreds = null; this.guestCreds = null;
this.notifyNewScreen('');
this.setState({ this.setState({
screen: undefined, screen: undefined,
logged_in: true, logged_in: true,