Skip to content

Commit

Permalink
fix(server): fix init auth provider params (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Mar 19, 2023
1 parent 0836e11 commit 796774f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"cSpell.words": [
"aarch",
"alipay",
"alisms",
"apiextensions",
"apiv",
"appid",
Expand Down
4 changes: 2 additions & 2 deletions server/src/initializer/initializer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class InitializerService {
name: 'user-password',
bind: {
password: 'optional',
phone: 'required',
phone: 'optional',
email: 'optional',
},
register: true,
Expand All @@ -206,7 +206,7 @@ export class InitializerService {
data: {
name: 'phone',
bind: {
password: 'required',
password: 'optional',
phone: 'optional',
email: 'optional',
},
Expand Down

0 comments on commit 796774f

Please sign in to comment.