mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Fix importing nes/client
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user