Modify messages to refer to language files (#1361)

This commit is contained in:
Kazuhito Yokoi
2017-08-07 18:00:28 +09:00
committed by Nick O'Leary
parent 54220d0e71
commit d7d13c12fe
14 changed files with 103 additions and 47 deletions

View File

@@ -84,7 +84,7 @@ function login(req,res) {
if (settings.adminAuth.type === "credentials") {
response = {
"type":"credentials",
"prompts":[{id:"username",type:"text",label:"Username"},{id:"password",type:"password",label:"Password"}]
"prompts":[{id:"username",type:"text",label:"user.username"},{id:"password",type:"password",label:"user.password"}]
}
} else if (settings.adminAuth.type === "strategy") {
response = {