console: fix JavaScript error capitalization

This commit is contained in:
Péter Szilágyi 2019-08-12 11:39:20 +03:00 committed by GitHub
parent 0fae73a506
commit a9d8ead1a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ func (b *bridge) NewAccount(call otto.FunctionCall) (response otto.Value) {
throwJSException(err.Error()) throwJSException(err.Error())
} }
if password != confirm { if password != confirm {
throwJSException("Passwords don't match!") throwJSException("passwords don't match!")
} }
// A single string password was specified, use that // A single string password was specified, use that