diff options
| author | 2022-12-06 14:15:56 +0100 | |
|---|---|---|
| committer | 2022-12-06 14:15:56 +0100 | |
| commit | 199b685f430910910e43476caa9ccec6a441d020 (patch) | |
| tree | b928c97deae38f8194e51b5e7a69766ddd1a0763 /cmd | |
| parent | [feature] media: add webp support (#1155) (diff) | |
| download | gotosocial-199b685f430910910e43476caa9ccec6a441d020.tar.xz | |
[feature] overhaul the oidc system (#961)
* [feature] overhaul the oidc system
this allows for more flexible username handling and prevents account
takeover using old email addresses
* [feature] add migration path for old OIDC users
* [feature] nicer error reporting for users
* [docs] document the new OIDC flow
* [fix] return early on oidc error
* [docs]: add comments on the finalization logic
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/gotosocial/action/admin/account/account.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotosocial/action/admin/account/account.go b/cmd/gotosocial/action/admin/account/account.go index 6c059d1fe..35c2f68ab 100644 --- a/cmd/gotosocial/action/admin/account/account.go +++ b/cmd/gotosocial/action/admin/account/account.go @@ -78,7 +78,7 @@ var Create action.GTSAction = func(ctx context.Context) error { return err } - _, err = dbConn.NewSignup(ctx, username, "", false, email, password, nil, "", "", true, false) + _, err = dbConn.NewSignup(ctx, username, "", false, email, password, nil, "", "", true, "", false) if err != nil { return err } |
