Commit Graph

36 Commits

Author SHA1 Message Date
lejianwen
18312336a4 refactor(admin): Move Admin Web Route to user model 2024-12-27 19:27:33 +08:00
lejianwen
1c5cd3ae62 add batch delete user token 2024-12-06 10:36:27 +08:00
ljw
70a03f1aba fix #52 & add auto refresh token #53 2024-11-07 10:46:00 +08:00
Tao Chen
34a27ba073 add error information 2024-11-06 15:06:15 +08:00
Tao Chen
956700c27f fix: cannot delete user 2024-11-06 14:36:12 +08:00
ljw
daeae19194 up oauth re 2024-11-05 11:48:35 +08:00
Tao Chen
5a53f180e4 fix: delete check 2024-11-03 22:23:24 +08:00
Tao Chen
ca79a63492 fix: call us.IsAdmin(u) to check admin 2024-11-03 21:59:17 +08:00
Tao Chen
aee25a6c99 fix: last admin shouldn't be deleted, disabled or demoted 2024-11-03 17:19:05 +08:00
Tao Chen
da7b70c471 add err for RegisterByOauth 2024-11-03 16:49:03 +08:00
Tao Chen
2ceaa0091b fix: Email of Register 2024-11-03 05:07:17 +08:00
Tao Chen
6fb1fbc5b1 fix: RegisterByOauth without Email 2024-11-03 04:35:39 +08:00
Tao Chen
d85a799d0b set user_id=0 at peers, when the user is deleted 2024-11-02 08:24:07 +08:00
Tao Chen
d38117107d When login, peer doesn't exist, it should create 2024-11-02 08:19:44 +08:00
Tao Chen
6a7ef29089 delete the token when delete a peer 2024-11-02 08:02:03 +08:00
Tao Chen
71d1c431a9 add DeviceId to userToken 2024-11-02 05:42:47 +08:00
Tao Chen
d31d669734 logout should unbind uuid and uid of peer 2024-11-02 05:07:41 +08:00
Tao Chen
485ae54e9e re-construct oauth 2024-11-02 04:01:28 +08:00
ljw
6c94566e83 add remove user token #34 2024-10-31 22:29:12 +08:00
Tao Chen
5488babfb3 Merge branch 'master' into resetEmptyPassWD 2024-10-31 16:35:32 +08:00
Tao Chen
bd2eeae01a add IsPasswordEmpty... 2024-10-31 16:22:42 +08:00
ljw
e2fda47cbb add register 2024-10-31 15:14:30 +08:00
ljw
b3edc9d112 up del user 2024-10-30 19:34:56 +08:00
Tao Chen
f6a0c6466f modify delete user 2024-10-30 16:33:01 +08:00
Tao Chen
3041fb82d9 delete user from user_thirds, too 2024-10-30 15:59:33 +08:00
bc92ffc106 Merge pull request #30 from IamTaoChen/oidc
Add General OIDC Login
2024-10-30 14:40:10 +08:00
Tao Chen
9eff8ea33a fix: spelling 2024-10-29 23:00:17 +08:00
ljw
001884a4d8 fix oauth register #26 #23 2024-10-29 15:31:27 +08:00
Tao Chen
4105f14a3f try add oidc 2024-10-29 11:51:01 +08:00
ljw
8ee93b530d add address book name &
add share address book
2024-10-28 14:51:07 +08:00
ljw
e142cc00c6 add conn log 2024-10-18 15:05:58 +08:00
ljw
b4965e8885 add login fail warn &
add web client on/off &
up admin peer filter &
upgrade web client
2024-10-14 10:43:29 +08:00
ljw
0a81b5b5f8 fix group peers 2024-09-24 19:35:20 +08:00
ljw
1e3403e3c5 add google oauth 2024-09-20 12:13:15 +08:00
ljw
a4b413dadb add oauth loginlog & fix bugs 2024-09-19 10:44:49 +08:00
ljw
c53df223d1 first 2024-09-13 15:57:29 +08:00