mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Make sure OAuth2 users cannot be associated multiple times
This commit is contained in:
parent
0f053b07a5
commit
9eb91e6f0b
5 changed files with 27 additions and 11 deletions
|
@ -44,11 +44,12 @@ func (c *Controller) getCommonTemplateArgs(ctx *core.Context) (tplParams, error)
|
|||
}
|
||||
|
||||
params := tplParams{
|
||||
"menu": "",
|
||||
"user": user,
|
||||
"countUnread": countUnread,
|
||||
"csrf": ctx.CSRF(),
|
||||
"flashMessage": ctx.FlashMessage(),
|
||||
"menu": "",
|
||||
"user": user,
|
||||
"countUnread": countUnread,
|
||||
"csrf": ctx.CSRF(),
|
||||
"flashMessage": ctx.FlashMessage(),
|
||||
"flashErrorMessage": ctx.FlashErrorMessage(),
|
||||
}
|
||||
return params, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue