mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +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
|
@ -135,7 +135,7 @@ func (c *Context) SetFlashErrorMessage(message string) {
|
|||
|
||||
// FlashErrorMessage returns the error flash message and remove it.
|
||||
func (c *Context) FlashErrorMessage() string {
|
||||
message := c.getContextStringValue(middleware.FlashMessageContextKey)
|
||||
message := c.getContextStringValue(middleware.FlashErrorMessageContextKey)
|
||||
c.store.UpdateSessionField(c.SessionID(), "flash_error_message", "")
|
||||
return message
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue