mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-24 02:00:45 +08:00
Merge pull request #537 from mattermost/mm-2091
HOTFIX for 0.7.0 - MM-2091 Fix bad user being set on team creation causing Manage Team modal to not work.
This commit is contained in:
@@ -41,7 +41,7 @@ module.exports = React.createClass({
|
||||
client.loginByEmail(teamSignup.team.name, teamSignup.team.email, teamSignup.user.password,
|
||||
function(data) {
|
||||
UserStore.setLastEmail(teamSignup.team.email);
|
||||
UserStore.setCurrentUser(teamSignup.user);
|
||||
UserStore.setCurrentUser(data);
|
||||
if (this.props.hash > 0) {
|
||||
BrowserStore.setGlobalItem(this.props.hash, JSON.stringify({wizard: 'finished'}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user