Remove "email" from the list of field names for username (#102)

This commit is contained in:
Erayd
2019-04-14 12:04:18 +12:00
committed by GitHub
parent 59326a888d
commit ec3d0a69b3

View File

@@ -756,7 +756,7 @@ async function parseFields(settings, login) {
// parse lines // parse lines
login.fields = { login.fields = {
secret: ["secret", "password", "pass"], secret: ["secret", "password", "pass"],
login: ["login", "username", "user", "email"], login: ["login", "username", "user"],
openid: ["openid"], openid: ["openid"],
url: ["url", "uri", "website", "site", "link", "launch"] url: ["url", "uri", "website", "site", "link", "launch"]
}; };