Fix importing nes/client

This commit is contained in:
Alexander James Phillips
2017-05-08 12:35:40 +01:00
parent 91fe980714
commit 10f421bb83
11 changed files with 168 additions and 76 deletions
@@ -1,3 +1,5 @@
// from https://github.com/hapijs/hapi-auth-basic#hapi-auth-basic
import Bcrypt = require('bcrypt');
import Basic = require('hapi-auth-basic');
import * as Hapi from 'hapi';
@@ -14,7 +16,7 @@ interface User {
const users: {[index: string]: User} = {
john: {
username: 'john',
password: '$2a$10$iqJSHD.BGr0E2IxQwYgJmeP3NvhPrXAeLSaGCj6IR/XU5QtjVu5Tm', // 'secret'
password: '$2a$10$iqJSHD.BGr0E2IxQwYgJmeP3NvhPrXAeLSaGCj6IR/XU5QtjVu5Tm', // 'secret'
name: 'John Doe',
id: '2133d32a'
}