diff --git a/api/user.go b/api/user.go
index 483ae67b52..beb555d71a 100644
--- a/api/user.go
+++ b/api/user.go
@@ -135,6 +135,8 @@ func createUser(c *Context, w http.ResponseWriter, r *http.Request) {
user.EmailVerified = true
}
+ user.EmailVerified = true
+
ruser := CreateUser(c, team, user)
if c.Err != nil {
return
diff --git a/web/react/components/more_channels.jsx b/web/react/components/more_channels.jsx
index 1af2598537..c3ddc76f35 100644
--- a/web/react/components/more_channels.jsx
+++ b/web/react/components/more_channels.jsx
@@ -79,7 +79,7 @@ module.exports = React.createClass({
- {moreChannels ?
+ {!moreChannels.loading ?
(moreChannels.length ?
diff --git a/web/react/stores/channel_store.jsx b/web/react/stores/channel_store.jsx
index f6b8fecd42..4429a5312c 100644
--- a/web/react/stores/channel_store.jsx
+++ b/web/react/stores/channel_store.jsx
@@ -202,13 +202,18 @@ var ChannelStore = assign({}, EventEmitter.prototype, {
BrowserStore.setItem("more_channels", JSON.stringify(channels));
},
_getMoreChannels: function() {
- var channels;
+ var channels = null;
try {
channels = JSON.parse(BrowserStore.getItem("more_channels"));
}
catch (err) {
}
+ if (channels == null) {
+ channels = {};
+ channels.loading = true;
+ }
+
return channels;
},
_storeExtraInfos: function(extraInfos) {