cd89f7a559
Merge pull request #80 from 1340908470/master
...
feat: find back password using email/phone instead of username
2021-06-07 20:12:27 +08:00
c983ee7ca6
feat: won't send verification code if there is no account bounded to phone/email
...
Signed-off-by: Weihao <1340908470@qq.com >
2021-06-07 19:13:06 +08:00
89fb4e555e
Merge pull request #77 from WindSpiritSR/patch
...
fix: <Link> to <a> and table key
2021-06-06 23:36:36 +08:00
6142ca52ca
feat: add facebook provider ( #79 )
...
* feat: add facebook provider
Signed-off-by: WindSpirit <simon343riley@gmail.com >
* fix: set fb id to username and reformat
Signed-off-by: WindSpirit <simon343riley@gmail.com >
2021-06-06 10:06:54 +08:00
eb658ad8ee
Support affiliation sync.
2021-06-04 23:26:30 +08:00
860fe91725
fix: <Link> to <a> and table key
...
Signed-off-by: WindSpirit <simon343riley@gmail.com >
2021-06-04 21:09:34 +08:00
081da18403
Add address to user.
2021-06-04 20:54:17 +08:00
7434d0f3d3
Fix "forget password" back bug.
2021-06-04 01:27:20 +08:00
1cb5ae54c5
feat: add "forget password" [front & backend] ( #75 )
...
* feat: add "forget password" [front & backend]
Signed-off-by: Weihao <1340908470@qq.com >
* fix: verification code can be sent even if no mobile phone or email is selected
refactor: forgetPassword -> forget; GetEmailAndPhoneByUsername -> GetEmailAndPhone; remove useless note
Signed-off-by: Weihao <1340908470@qq.com >
2021-06-02 13:39:01 +08:00
29049297d8
Fix old-format oauth data bugs.
2021-06-01 23:32:34 +08:00
90e617b2dc
Improve "Third-party logins" UI.
2021-05-31 01:49:38 +08:00
11f1f8f440
Show properties in user page.
2021-05-30 18:35:05 +08:00
dc89f2b0f6
Add Properties to user.
2021-05-30 18:24:22 +08:00
089ff6c6eb
Add AffiliationUrl.
2021-05-24 21:27:00 +08:00
b23e8cf90c
Improve i18n.
2021-05-24 20:48:04 +08:00
2fff5f79ce
Can set email title and content now.
2021-05-24 20:21:41 +08:00
705c0159d4
Add id to VerificationRecord.
2021-05-24 19:25:35 +08:00
bd888fad38
Fix translation.
2021-05-23 23:40:44 +08:00
31d981baf1
Fix small issues.
2021-05-23 23:38:38 +08:00
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
b2a75a527b
feat: intergrate verification code countdown as a component
...
Signed-off-by: Kininaru <shiftregister233@outlook.com >
2021-05-20 21:09:12 +08:00
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
e6862713bb
Improve password length check.
2021-05-16 22:01:22 +08:00
18806f07a8
Support cred auto-login.
2021-05-16 18:18:55 +08:00
df7ac93feb
Show error "Invalid JWT token".
2021-05-15 23:34:06 +08:00
55e0fe14ca
Improve reset buttons.
2021-05-15 20:44:40 +08:00
e206ec5057
Update antd to latest v4.15.5
2021-05-15 20:32:00 +08:00
43db2de8d8
Add phone provider.
2021-05-15 13:43:21 +08:00
18ea101db8
fix: remove all dom APIs from the project
...
Signed-off-by: Kininaru <shiftregister233@outlook.com >
2021-05-15 12:35:49 +08:00
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
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
fb9f18af2c
Add Email provider.
2021-05-14 23:45:20 +08:00
b7cbc0e015
Return sms error message.
2021-05-14 18:19:47 +08:00
d361a39ffc
Add phone prefix to UI.
2021-05-14 17:39:53 +08:00
db5ecddd3f
Remove /get-default-providers API.
2021-05-14 16:07:39 +08:00
9346587ca6
Filter github providers.
2021-05-14 15:55:50 +08:00
f4db41acb3
Fix console warnings.
2021-05-13 22:23:04 +08:00
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
892cb39e3e
feat: move User.PhonePrefix to Organization.PhonePrefix
...
Signed-off-by: Kininaru <shiftregister233@outlook.com >
2021-05-13 09:39:07 +08:00
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
400e335e68
feat: add reset email by verification code
...
Signed-off-by: Kininaru <shiftregister233@outlook.com >
2021-05-12 21:38:31 +08:00
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
d2d4c411ab
Add password button.
2021-05-09 14:53:05 +08:00
a1851c2b78
Add github.com/dchest/captcha imports.
2021-05-09 11:29:25 +08:00
e3b3a76088
Add willLog() and control access to signup page.
2021-05-08 16:52:02 +08:00
8a4311c85c
Add PasswordSalt to org.
2021-05-06 19:13:03 +08:00
f442f11568
Move passwordType to org.
2021-05-05 23:32:21 +08:00
fffada894c
Add organization and user to token.
2021-05-04 22:36:05 +08:00
6095af0512
Add checkPassword().
2021-05-03 10:13:32 +08:00
813204194f
Add SignupUrl and ForgetUrl to Application.
2021-05-03 00:48:02 +08:00