comparison core/src/luan/modules/Io.luan @ 753:5e3970ccd86a

improve password handling
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 15 Jul 2016 17:35:50 -0600
parents 293c397e8dee
children 55983a476a21
comparison
equal deleted inserted replaced
752:ea5f3a254b76 753:5e3970ccd86a
11 M.stdin = IoLuan.defaultStdin.table() 11 M.stdin = IoLuan.defaultStdin.table()
12 M.socket_server = IoLuan.socket_server 12 M.socket_server = IoLuan.socket_server
13 M.stdout = IoLuan.textWriter(System.out) 13 M.stdout = IoLuan.textWriter(System.out)
14 M.stderr = IoLuan.textWriter(System.err) 14 M.stderr = IoLuan.textWriter(System.err)
15 15
16 -- used by http and rpc
17 M.password = "password"
16 18
17 local Luan = require "luan:Luan.luan" 19 local Luan = require "luan:Luan.luan"
18 local error = Luan.error 20 local error = Luan.error
19 local to_string = Luan.to_string or error() 21 local to_string = Luan.to_string or error()
20 local type = Luan.type or error() 22 local type = Luan.type or error()