commenter_update.go: make link optional

This commit is contained in:
Adhityaa Chandrasekar 2020-02-13 19:21:19 -05:00
parent b3f2cf3064
commit b29147a95b
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import (
)
func commenterUpdate(commenterHex string, email string, name string, link string, photo string, provider string) error {
if email == "" || name == "" || link == "" || photo == "" || provider == "" {
if email == "" || name == "" || photo == "" || provider == "" {
return errorMissingField
}

View File

@ -42,7 +42,7 @@
</div>
<div id="link-row" class="row" style="display: none">
<div class="label">Website</div>
<div class="label">Website (Optional)</div>
<input class="input" type="text" name="link" id="link" placeholder="https://example.com">
</div>