mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 05:03:16 -06:00
pin new account to user
This commit is contained in:
parent
784b648c33
commit
556ac3da81
1 changed files with 3 additions and 1 deletions
|
|
@ -24,12 +24,13 @@ import (
|
|||
"crypto/rsa"
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"github.com/sirupsen/logrus"
|
||||
"net"
|
||||
"net/mail"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/superseriousbusiness/gotosocial/internal/ap"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/config"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/db"
|
||||
|
|
@ -145,6 +146,7 @@ func (a *adminDB) NewSignup(ctx context.Context, username string, reason string,
|
|||
u := >smodel.User{
|
||||
ID: newUserID,
|
||||
AccountID: acct.ID,
|
||||
Account: acct,
|
||||
EncryptedPassword: string(pw),
|
||||
SignUpIP: signUpIP.To4(),
|
||||
Locale: locale,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue