1117 Commits

Author SHA1 Message Date
Yang Luo
31d981baf1 Fix small issues. 2021-05-23 23:38:38 +08:00
Kininaru
f39378562f feat: turing test before send code
Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-22 21:03:49 +08:00
Kininaru
b2a75a527b feat: intergrate verification code countdown as a component
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-20 21:09:12 +08:00
Kininaru
66d953a6c1 feat: check user email and phone when signing up
Signed-off-by: Kininaru <shiftregister233@outlook.com>

phone prefix error

Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix i18n error

Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed useless file

Signed-off-by: Kininaru <shiftregister233@outlook.com>

move timeout to app.conf

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

made verification code reusable

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-18 22:20:26 +08:00
Yang Luo
e6862713bb Improve password length check. 2021-05-16 22:01:22 +08:00
Yang Luo
18806f07a8 Support cred auto-login. 2021-05-16 18:18:55 +08:00
Yang Luo
df7ac93feb Show error "Invalid JWT token". 2021-05-15 23:34:06 +08:00
Yang Luo
55e0fe14ca Improve reset buttons. 2021-05-15 20:44:40 +08:00
Yang Luo
e206ec5057 Update antd to latest v4.15.5 2021-05-15 20:32:00 +08:00
Yang Luo
43db2de8d8 Add phone provider. 2021-05-15 13:43:21 +08:00
Kininaru
18ea101db8 fix: remove all dom APIs from the project
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-15 12:35:49 +08:00
Kininaru
d8e5194e99 fix: send code button background color
Signed-off-by: Kininaru <shiftregister233@outlook.com>

fixed error

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-15 11:58:23 +08:00
Kininaru
22aeebe8d3 fix: reset phone email data error and removed dom API from it
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-15 11:47:09 +08:00
Yang Luo
fb9f18af2c Add Email provider. 2021-05-14 23:45:20 +08:00
Yang Luo
b7cbc0e015 Return sms error message. 2021-05-14 18:19:47 +08:00
Yang Luo
d361a39ffc Add phone prefix to UI. 2021-05-14 17:39:53 +08:00
Yang Luo
db5ecddd3f Remove /get-default-providers API. 2021-05-14 16:07:39 +08:00
Yang Luo
9346587ca6 Filter github providers. 2021-05-14 15:55:50 +08:00
Yang Luo
f4db41acb3 Fix console warnings. 2021-05-13 22:23:04 +08:00
Kininaru
1589da0a62 fix: check cn phone regex bug and add check to verification code
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-13 09:55:37 +08:00
Kininaru
892cb39e3e feat: move User.PhonePrefix to Organization.PhonePrefix
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-13 09:39:07 +08:00
Kininaru
827930a020 feat: add reset phone by verification code
Signed-off-by: Kininaru <shiftregister233@outlook.com>

fixed client bug

Signed-off-by: Kininaru <shiftregister233@outlook.com>

feat: add i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

add Casbin License

Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed port from remoteaddr

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-12 22:59:42 +08:00
Kininaru
400e335e68 feat: add reset email by verification code
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-12 21:38:31 +08:00
Kininaru
33e61cc5cf feat: set password for users
Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed useless blank

Signed-off-by: Kininaru <shiftregister233@outlook.com>

add license header

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

database logic

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-09 20:56:52 +08:00
Yang Luo
d2d4c411ab Add password button. 2021-05-09 14:53:05 +08:00
Yang Luo
a1851c2b78 Add github.com/dchest/captcha imports. 2021-05-09 11:29:25 +08:00
Yang Luo
e3b3a76088 Add willLog() and control access to signup page. 2021-05-08 16:52:02 +08:00
Yang Luo
8a4311c85c Add PasswordSalt to org. 2021-05-06 19:13:03 +08:00
Yang Luo
f442f11568 Move passwordType to org. 2021-05-05 23:32:21 +08:00
Yang Luo
fffada894c Add organization and user to token. 2021-05-04 22:36:05 +08:00
Yang Luo
6095af0512 Add checkPassword(). 2021-05-03 10:13:32 +08:00
Yang Luo
813204194f Add SignupUrl and ForgetUrl to Application. 2021-05-03 00:48:02 +08:00
Yang Luo
82f4f542ed Add User's IsForbidden. 2021-05-02 12:18:28 +08:00
Yang Luo
d509c61816 Fix bug in Casdoor's own 3rd-party login. 2021-05-02 00:20:40 +08:00
Yang Luo
0f7cd56441 Support Email and phone login. 2021-05-01 20:23:20 +08:00
Yang Luo
a093f3af5a Add username check. 2021-05-01 16:54:06 +08:00
Yang Luo
fa2653c836 Fix comment. 2021-04-29 22:56:35 +08:00
Yang Luo
785f306c4b Use helmet on login, signup pages. 2021-04-29 21:28:24 +08:00
Yang Luo
3065bacad2 Add org's favicon. 2021-04-29 21:27:38 +08:00
Yang Luo
5779d57960 Set org's document title and favicon. 2021-04-29 19:51:03 +08:00
Yang Luo
cfe1eb9d50 Improve panic message. 2021-04-29 15:43:15 +08:00
kuchaguangjie
93564e8389
fix: add cross-env to set port for both windows & linux (#49)
* add cross-env to set port for both windows & linux,

* add package-lock.json back,

* don't commit package-lock.json
2021-04-29 15:42:59 +08:00
Yang Luo
c26c9ba0e8 Fix page links. 2021-04-28 22:40:21 +08:00
Yang Luo
35e482f24e Fix the signup. 2021-04-28 21:56:14 +08:00
Yang Luo
ee8f2a6046 Improve signup page. 2021-04-28 15:54:50 +08:00
Yang Luo
ef1995de4f Translate signup page. 2021-04-28 09:43:11 +08:00
Yang Luo
6fbdc556ac Improve UI text. 2021-04-28 00:13:50 +08:00
Yang Luo
7a0ed4ebaf Replace "register" with "sign up". 2021-04-27 22:47:44 +08:00
Yang Luo
3793029491 Adjust register page text. 2021-04-27 22:35:14 +08:00
Yang Luo
8ce8169d65 Translate login page. 2021-04-27 22:03:22 +08:00