Move passwordType to org.

This commit is contained in:
Yang Luo
2021-05-05 23:32:21 +08:00
parent fffada894c
commit f442f11568
10 changed files with 42 additions and 47 deletions

View File

@ -90,7 +90,6 @@ func (c *ApiController) Signup() {
Id: util.GenerateId(),
Type: "normal-user",
Password: form.Password,
PasswordType: "plain",
DisplayName: form.Name,
Avatar: "https://casbin.org/img/casbin.svg",
Email: form.Email,