Commit Graph

125 Commits

Author SHA1 Message Date
b11b3b6021 Use signup table in Signup API. 2021-06-17 00:49:02 +08:00
6508d96162 Remove GetOrganizationByName(). 2021-05-16 22:58:30 +08:00
e6862713bb Improve password length check. 2021-05-16 22:01:22 +08:00
45bd3b316b Fix hash update. 2021-05-16 21:22:20 +08:00
4b9ce5f401 Fix add/update salted password. 2021-05-16 21:04:26 +08:00
18806f07a8 Support cred auto-login. 2021-05-16 18:18:55 +08:00
2ea5e7ec78 Remove user's PhonePrefix. 2021-05-15 13:54:23 +08:00
a1851c2b78 Add github.com/dchest/captcha imports. 2021-05-09 11:29:25 +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
6095af0512 Add checkPassword(). 2021-05-03 10:13:32 +08:00
82f4f542ed Add User's IsForbidden. 2021-05-02 12:18:28 +08:00
0f7cd56441 Support Email and phone login. 2021-05-01 20:23:20 +08:00
5b1b8662ac Improve CheckUserLogin(). 2021-05-01 19:45:40 +08:00
7b32207443 Check more in CheckUserSignup(). 2021-05-01 18:39:40 +08:00
904faae6eb Improve CheckUserSignup(). 2021-05-01 17:45:01 +08:00
a093f3af5a Add username check. 2021-05-01 16:54:06 +08:00
7a0ed4ebaf Replace "register" with "sign up". 2021-04-27 22:47:44 +08:00
64c9548019 Update license header. 2021-03-13 23:09:14 +08:00
9e8bde509a Add clientId and clientSecret to app. 2021-03-06 16:39:17 +08:00
dfa77ab25d Add GoogleIdProvider. 2021-02-21 23:51:40 +08:00
65eee22099 Check user under org. 2021-02-14 21:45:40 +08:00
2dd4afbe7b Fix github login. 2021-02-14 01:04:51 +08:00
c81118feff Add github oauth. 2021-02-14 00:22:24 +08:00
3ea58a0cdc Add account APIs. 2021-02-11 22:56:08 +08:00