This commit is contained in:
こぴなたみぽ
2018-02-02 10:31:17 +09:00
parent 718060dc85
commit 2cb0511dba
40 changed files with 40 additions and 80 deletions

View File

@@ -3,8 +3,7 @@ import * as express from 'express';
import * as bcrypt from 'bcryptjs';
import recaptcha = require('recaptcha-promise');
import { default as User, IUser } from '../models/user';
import { validateUsername, validatePassword } from '../models/user';
import { pack } from '../models/user';
import { validateUsername, validatePassword }, { pack } from '../models/user';
import generateUserToken from '../common/generate-native-user-token';
import config from '../../conf';