Commit b29147a9 authored by Adhityaa Chandrasekar's avatar Adhityaa Chandrasekar

commenter_update.go: make link optional

parent b3f2cf30
......@@ -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
}
......
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment