Skip to content
Prev Previous commit
Next Next commit
expanded allowed email
  • Loading branch information
reactivepixel committed Oct 18, 2019
commit 46a312af6e0a22cc67a990b8b5a2631c42743516
2 changes: 1 addition & 1 deletion bot/controllers/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class VerifyController extends BaseController {
verifyAction() {
const { message } = this;
const targetVerifiedRoleName = 'Crew';
const validDomains = ['student.fullsail.edu', 'fullsail.edu', 'fullsail.com'];
const validDomains = ['student.fullsail.edu', 'fullsail.edu', 'fullsail.com', 'alumni.fullsail.edu', 'staff.fullsail.com', 'staff.fullsail.edu'];
const timeoutInMiliseconds = 600000;
const email = message.parsed[1].toLowerCase();
const emailDomain = email.split('@').pop();
Expand Down
4 changes: 2 additions & 2 deletions db/migrations/20170920201305-create-member.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ module.exports = {
verified: {
type: Sequelize.BOOLEAN
},
createdAt: {
created_at: {
allowNull: false,
type: Sequelize.DATE,
defaultValue: Sequelize.fn('now'),
},
updatedAt: {
updated_at: {
allowNull: false,
type: Sequelize.DATE,
defaultValue: Sequelize.fn('now'),
Expand Down