aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/form/feed.go4
-rw-r--r--ui/form/subscription.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/ui/form/feed.go b/ui/form/feed.go
index 1a3766b..853287a 100644
--- a/ui/form/feed.go
+++ b/ui/form/feed.go
@@ -64,7 +64,7 @@ func NewFeedForm(r *http.Request) *FeedForm {
RewriteRules: r.FormValue("rewrite_rules"),
Crawler: r.FormValue("crawler") == "1",
CategoryID: int64(categoryID),
- Username: r.FormValue("username"),
- Password: r.FormValue("password"),
+ Username: r.FormValue("feed_username"),
+ Password: r.FormValue("feed_password"),
}
}
diff --git a/ui/form/subscription.go b/ui/form/subscription.go
index 015f60f..122d25a 100644
--- a/ui/form/subscription.go
+++ b/ui/form/subscription.go
@@ -40,7 +40,7 @@ func NewSubscriptionForm(r *http.Request) *SubscriptionForm {
URL: r.FormValue("url"),
Crawler: r.FormValue("crawler") == "1",
CategoryID: int64(categoryID),
- Username: r.FormValue("username"),
- Password: r.FormValue("password"),
+ Username: r.FormValue("feed_username"),
+ Password: r.FormValue("feed_password"),
}
}