mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Add new fields for feed username/password
This commit is contained in:
parent
261695c14c
commit
bddca15b69
27 changed files with 203 additions and 68 deletions
|
@ -47,7 +47,14 @@ func (c *Controller) ChooseSubscription(w http.ResponseWriter, r *http.Request)
|
|||
return
|
||||
}
|
||||
|
||||
feed, err := c.feedHandler.CreateFeed(user.ID, subscriptionForm.CategoryID, subscriptionForm.URL, subscriptionForm.Crawler)
|
||||
feed, err := c.feedHandler.CreateFeed(
|
||||
user.ID,
|
||||
subscriptionForm.CategoryID,
|
||||
subscriptionForm.URL,
|
||||
subscriptionForm.Crawler,
|
||||
subscriptionForm.Username,
|
||||
subscriptionForm.Password,
|
||||
)
|
||||
if err != nil {
|
||||
view.Set("form", subscriptionForm)
|
||||
view.Set("errorMessage", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue