Allow to sign up with OAuth.

This commit is contained in:
Yang Luo
2021-06-09 21:27:20 +08:00
parent 440aad2369
commit f672045b45
5 changed files with 97 additions and 52 deletions

View File

@ -132,6 +132,7 @@ func (c *ApiController) Signup() {
IsAdmin: false,
IsGlobalAdmin: false,
IsForbidden: false,
Properties: map[string]string{},
}
object.AddUser(user)