Change Blog Title to Display Name in OAuth signup

Ref T712
This commit is contained in:
Matt Baer 2020-01-16 13:58:14 -05:00
parent 6842ab2e3b
commit 130c9eb747
2 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ func (h oauthHandler) validateOauthSignup(r *http.Request) error {
}
collTitle := r.FormValue(oauthParamAlias)
if len(collTitle) == 0 {
return impart.HTTPError{Status: http.StatusBadRequest, Message: "Alias is too short."}
return impart.HTTPError{Status: http.StatusBadRequest, Message: "Display name is too short."}
}
password := r.FormValue("password")
if len(password) == 0 {

View File

@ -77,9 +77,9 @@ form dd {
<dl class="billing">
<label>
<dt>Blog Title</dt>
<dt>Display Name</dt>
<dd>
<input type="text" style="width: 100%; box-sizing: border-box;" name="alias" placeholder="Alias"{{ if .Alias }} value="{{.Alias}}"{{ end }} />
<input type="text" style="width: 100%; box-sizing: border-box;" name="alias" placeholder="Name"{{ if .Alias }} value="{{.Alias}}"{{ end }} />
</dd>
</label>
<label>