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.
Этот коммит содержится в:
@@ -41,7 +41,7 @@ module.exports = React.createClass({
|
|||||||
client.loginByEmail(teamSignup.team.name, teamSignup.team.email, teamSignup.user.password,
|
client.loginByEmail(teamSignup.team.name, teamSignup.team.email, teamSignup.user.password,
|
||||||
function(data) {
|
function(data) {
|
||||||
UserStore.setLastEmail(teamSignup.team.email);
|
UserStore.setLastEmail(teamSignup.team.email);
|
||||||
UserStore.setCurrentUser(teamSignup.user);
|
UserStore.setCurrentUser(data);
|
||||||
if (this.props.hash > 0) {
|
if (this.props.hash > 0) {
|
||||||
BrowserStore.setGlobalItem(this.props.hash, JSON.stringify({wizard: 'finished'}));
|
BrowserStore.setGlobalItem(this.props.hash, JSON.stringify({wizard: 'finished'}));
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user