1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

We should clear /login off the URL after login

This commit is contained in:
David Baker
2016-08-03 09:57:12 +01:00
parent 4825ab8fe7
commit e3a5776eae

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,