1146 Commits

Author SHA1 Message Date
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
Yang Luo
0faeaae78f Improve i18n. 2021-04-27 20:59:50 +08:00
Yang Luo
43113a0ee4 Fix "/api/unlink" bug. 2021-04-27 20:42:19 +08:00
Yang Luo
f0ffacb6a5 Improve user page i18n. 2021-04-27 18:08:21 +08:00
Yang Luo
0fc7015c61 Add user type. 2021-04-26 19:00:23 +08:00
Yang Luo
4dd0c1a457 Improve Third-party Logins UI. 2021-04-26 18:33:06 +08:00
Yang Luo
085f0ca239 Improve avatar upload UI. 2021-04-26 18:23:06 +08:00
Yang Luo
d586efc242 Add user's phonePrefix. 2021-04-26 17:57:32 +08:00
Yang Luo
36895801f0 Add Link API. 2021-04-19 01:14:41 +08:00
Yang Luo
6774b0379c Add Unlink API. 2021-04-18 23:14:46 +08:00
Kininaru
3a13b8e73c feat: add go backend API docs
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-03-29 23:40:25 +08:00
Yang Luo
5c49693bc0 Use react-social-login-buttons. 2021-03-29 22:11:28 +08:00
Kininaru
45071bb8c7
fix: Avatar upload doesn't work since the backend logic has been rewritten (#32)
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-03-29 11:19:55 +08:00
Yang Luo
cc8485a7db Add renderAvatar(). 2021-03-28 21:18:41 +08:00
Yang Luo
d6c8bb87c2 Fix provider type. 2021-03-28 20:20:40 +08:00
Yang Luo
73ffb22c32 Improve login page. 2021-03-28 19:34:21 +08:00
Yang Luo
658dd79d81 Add "My Account" tile. 2021-03-28 17:36:31 +08:00
Yang Luo
f5ceae901b Support auto-login. 2021-03-28 16:53:49 +08:00
Yang Luo
2029a28d7b Fix getAccount() response. 2021-03-28 10:51:08 +08:00
Yang Luo
0127f8fb63 Improve response message. 2021-03-28 10:36:47 +08:00
Yang Luo
d6715c7601 Improve API error handling. 2021-03-28 00:48:34 +08:00
Yang Luo
6c2c5be33d Fix React warnings. 2021-03-27 11:56:16 +08:00