|
@@ -441,7 +441,7 @@ func (am *AccountManager) Register(client *Client, account string, callbackNames
|
441
|
441
|
// validatePassphrase checks whether a passphrase is allowed by our rules
|
442
|
442
|
func validatePassphrase(passphrase string) error {
|
443
|
443
|
// sanity check the length
|
444
|
|
- if len(passphrase) == 0 || len(passphrase) > 256 {
|
|
444
|
+ if len(passphrase) == 0 || len(passphrase) > 300 {
|
445
|
445
|
return errAccountBadPassphrase
|
446
|
446
|
}
|
447
|
447
|
// we use * as a placeholder in some places, if it's gotten this far then fail
|