Reworking JWT authentication

This commit is contained in:
2021-07-28 21:36:04 +10:00
parent c63e14ddf3
commit 72b3babfd8
14 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -3,5 +3,5 @@ const sequelize = require('..');
module.exports = sequelize.define('tokens', {
token: 'varchar(320)',
username: 'varchar(320)' //TODO: why username?
email: 'varchar(320)'
});