Merge remote-tracking branch 'upstream/forgejo' into feat/add-oidc-ssh-keys
This commit is contained in:
commit
bbcd7d6fae
147 changed files with 2879 additions and 2901 deletions
|
@ -39,7 +39,7 @@ func (source *Source) FromDB(bs []byte) error {
|
|||
return json.UnmarshalHandleDoubleEncode(bs, &source)
|
||||
}
|
||||
|
||||
// ToDB exports an OAuth2Config to a serialized format.
|
||||
// ToDB exports an SMTPConfig to a serialized format.
|
||||
func (source *Source) ToDB() ([]byte, error) {
|
||||
return json.Marshal(source)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue