summaryrefslogtreecommitdiffstats
path: root/model/oauth.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-04-25 12:38:33 -0400
committerCorey Hulen <corey@hulen.com>2017-04-25 09:38:33 -0700
commit8d1a132eda861f3e491a406233b726ff953cdffd (patch)
treef4739b7357c2887a339cebe739abca62a8744e99 /model/oauth.go
parent83ca76f8f2bfef819ba928dd1e5c94d65eed46cf (diff)
downloadchat-8d1a132eda861f3e491a406233b726ff953cdffd.tar.gz
chat-8d1a132eda861f3e491a406233b726ff953cdffd.tar.bz2
chat-8d1a132eda861f3e491a406233b726ff953cdffd.zip
Fix OAuth SSO first account creation, add mobile support, and fix refresh tokens (#6181)
Diffstat (limited to 'model/oauth.go')
-rw-r--r--model/oauth.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/oauth.go b/model/oauth.go
index 6a3561ed9..3139aefed 100644
--- a/model/oauth.go
+++ b/model/oauth.go
@@ -16,6 +16,7 @@ const (
OAUTH_ACTION_LOGIN = "login"
OAUTH_ACTION_EMAIL_TO_SSO = "email_to_sso"
OAUTH_ACTION_SSO_TO_EMAIL = "sso_to_email"
+ OAUTH_ACTION_MOBILE = "mobile"
)
type OAuthApp struct {