summaryrefslogtreecommitdiff
path: root/lib/models
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-06-04 15:54:47 +0200
committerGitHub2018-06-04 15:54:47 +0200
commit551840ad57125fa168247c21613f9d6de6cd5d99 (patch)
tree51dda6767b42acc445fb169ea8ea6b4fe19050ac /lib/models
parent3f7a33df646c4db3de449bd486a7dfddc9ba6e6b (diff)
parent34df7ccce83bebec1db3b6995eb25cb6fe4fdbd4 (diff)
Merge pull request #784 from pferreir/add-oauth2-support
Add "generic" OAuth2 support
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/user.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/user.js b/lib/models/user.js
index 4c823355..0f6acd65 100644
--- a/lib/models/user.js
+++ b/lib/models/user.js
@@ -26,10 +26,10 @@ module.exports = function (sequelize, DataTypes) {
type: DataTypes.TEXT
},
accessToken: {
- type: DataTypes.STRING
+ type: DataTypes.TEXT
},
refreshToken: {
- type: DataTypes.STRING
+ type: DataTypes.TEXT
},
email: {
type: Sequelize.TEXT,