mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] New user sign-up via web page (#2796)
* [feature] User sign-up form and admin notifs * add chosen + filtered languages to migration * remove stray comment * chosen languages schmosen schmanguages * proper error on local account missing
This commit is contained in:
@ -569,11 +569,6 @@ func stubbifyUser(user *gtsmodel.User) ([]string, error) {
|
||||
|
||||
user.EncryptedPassword = string(dummyPassword)
|
||||
user.SignUpIP = net.IPv4zero
|
||||
user.CurrentSignInAt = never
|
||||
user.CurrentSignInIP = net.IPv4zero
|
||||
user.LastSignInAt = never
|
||||
user.LastSignInIP = net.IPv4zero
|
||||
user.SignInCount = 1
|
||||
user.Locale = ""
|
||||
user.CreatedByApplicationID = ""
|
||||
user.LastEmailedAt = never
|
||||
@ -585,11 +580,6 @@ func stubbifyUser(user *gtsmodel.User) ([]string, error) {
|
||||
return []string{
|
||||
"encrypted_password",
|
||||
"sign_up_ip",
|
||||
"current_sign_in_at",
|
||||
"current_sign_in_ip",
|
||||
"last_sign_in_at",
|
||||
"last_sign_in_ip",
|
||||
"sign_in_count",
|
||||
"locale",
|
||||
"created_by_application_id",
|
||||
"last_emailed_at",
|
||||
|
Reference in New Issue
Block a user