Commit graph

540 commits

Author SHA1 Message Date
Kijin Sung
6c113c22ed Fix unnecessary assignment by reference, which causes E_NOTICE 2024-01-04 10:25:25 +09:00
Kijin Sung
af17b34f75 Trigger member.doLogin (after) event after actually logging in 2023-12-30 21:52:38 +09:00
Kijin Sung
daffb6d4ec Fix type error when calling isValidPhoneNumber() from member controller
https://xetown.com/questions/1799857
2023-12-20 16:36:09 +09:00
Kijin Sung
93e0e55aaa Remove unnecessary setTemplatePath() 2023-12-01 11:21:38 +09:00
Kijin Sung
cd74950c81 Fix layout and skin path in procMemberAuthAccount 2023-12-01 11:20:38 +09:00
Kijin Sung
c17e8b201b Replace TemplateHandler references with Rhymix\Framework\Template 2023-11-29 23:56:39 +09:00
Kijin Sung
4f6c05f735 Only allow non-logged-in users in procMemberResetPassword 2023-11-29 22:02:04 +09:00
Kijin Sung
64148f0544 More validity checks for reset password 2023-11-29 21:59:28 +09:00
Kijin Sung
ad6d578a00 Clean up unnecessary variables in procMemberAuthAccount 2023-11-29 21:50:19 +09:00
Kijin Sung
8e1ccf7c1b Separate procMemberResetPassword action from procMemberModifyPassword 2023-11-29 21:45:42 +09:00
Kijin Sung
cd1477f14b Add more specific message about password change/reset 2023-11-28 23:31:28 +09:00
Kijin Sung
24c2cecc9b Misc fixes to password change routine 2023-11-28 23:24:09 +09:00
Kijin Sung
c887d8a84d Add template for password reset without current_password 2023-11-28 23:16:32 +09:00
Kijin Sung
2ce8b5812b Customize password reset email for v2 method 2023-11-28 22:40:47 +09:00
Kijin Sung
b934b8638f Clean up member_auth_mail table schema, adding auth_type column 2023-11-28 22:08:22 +09:00
Kijin Sung
26f923d64b Fix #2145 rename $is_admin to more descriptive variable name in some controller actions 2023-09-13 11:15:13 +09:00
Kijin Sung
4af7354bf0 Add options to control autologin cookie lifetime and refresh function 2023-08-29 23:42:01 +09:00
Kijin Sung
87300c9944 Resend autologin key periodically to maintain useful lifetime 2023-08-29 23:21:20 +09:00
Kijin Sung
ae2e8d6674 Update user agent info when autologin 2023-08-04 02:23:13 +09:00
Kijin Sung
555f5b6017 Keep previous autologin security key in database, in case the client STILL hasn't got the new cookie 2023-08-04 02:21:01 +09:00
Kijin Sung
42496b0176 Remove unnecessary error code when email confirmation is required 2023-08-03 21:55:04 +09:00
Kijin Sung
de9a5bce35 Redirect always to configured URL after signup, even if email confirmation is enabled. Fix #726, #949, #1735 2023-08-03 21:43:05 +09:00
Kijin Sung
39f92673b3 Fix error logging in with user_id when phone_number is also enabled as a login method 2023-07-04 01:44:30 +09:00
Kijin Sung
b53e8adad7 Allow admin to update email address even if normally not allowed 2023-06-27 22:56:25 +09:00
Kijin Sung
9334e342f7 Display clear error message when user tries to change nickname or email address and it's not allowed 2023-06-27 22:35:56 +09:00
Kijin Sung
089f375743 Fix unmodifiable fields being exposed in member info modification form 2023-06-27 22:23:47 +09:00
Kijin Sung
62dfb38308 Add option to (dis)allow nickname change 2023-06-27 22:14:30 +09:00
Kijin Sung
26a0ec66ff Add status column to member table #1806 #1896 2023-06-20 23:57:45 +09:00
Kijin Sung
b2bc724715 Fix referer URL handling to account for member mid redirect 2023-06-20 20:32:03 +09:00
Waterticket
92fc585eb7
fix: doAutoLogin after 트리거 위치를 회원 캐시 초기화 후로 이동 2023-03-04 13:51:06 +09:00
Waterticket
db9355fd0c
feat: 자동로그인 이후 member.doAutoLogin After 트리거 호출하도록 패치 2023-03-04 12:56:06 +09:00
Kijin Sung
8a6039b829 Remove trailing whitespace in member module 2023-01-17 21:01:32 +09:00
Kijin Sung
b1206b9cf1 Fix incorrectly capitalized class names in member module 2022-12-27 23:03:46 +09:00
Kijin Sung
9cfcd7cb37 Fix #1136 #1230 auto-rotate profile image if EXIF is available (cf. #1182) 2022-12-20 19:18:39 +09:00
Kijin Sung
117ae626b9 Fix #2041 don't replace lang codes in member menu until module init 2022-12-15 23:45:19 +09:00
Kijin Sung
2b83fe75f7 Fix #2038 provide triggers for deleteScrapDocument 2022-12-15 23:11:30 +09:00
Kijin Sung
1312155aba Fix #2029 remove notnull condition in member.getScrapDocument query
실제 사용하는 곳에 intval() 처리 추가하여 null 방어
2022-11-28 01:03:09 +09:00
Kijin Sung
32b8e51b47 Fix infinite loop when a member belongs to no groups under certain conditions
+) Add static to some utility methods in MemberController
2022-11-28 00:59:31 +09:00
Kijin Sung
fcf7306ee6 Fix trying to delete nonexistent file, which can cause errors on some systems
https://xetown.com/questions/1722184
2022-11-22 14:14:40 +09:00
Kijin Sung
e94146b490 Return error if user_id is empty after removing all non-numerical characters 2022-11-01 11:32:02 +09:00
Kijin Sung
246a952cf6 Fix login error when the user enters a phone number containing hyphens or other symbols 2022-11-01 11:28:39 +09:00
Kijin Sung
bd7865caf0 Fix #1957 again: more user-friendly error messages 2022-10-30 21:00:50 +09:00
BJRambo
96d6e82d5c 7a4f8164ac 보완 유저 아이디를 사용하도록 채크한 경우에만 회원아이디 체크하도록 개선 2022-10-18 06:31:40 +09:00
BJRambo
7a4f8164ac 라이믹스 첫 설치시 user_id 를 사용함에도 불구하고 정상적으로 로그인이 안되는 문제 고침.
첫 설치시 아이디 사용이 이메일 + 전화번호 + user_id 항목을 모두 사용할 수 있습니다.

근데 문제는 사용자가 전화번호가 아니라 유저아이디를 정상적으로 입력하였음에도 불구하고 입력한 정보가 아니라는 경우가 발생됩니다.

보통 "abc1234" 이라는 계정을 사용하게되면 member.controller.php 2176줄안에 걸려 매칭을 시작하게 되고 아이디가 preg_replace('/[^0-9]/', '', $user_id); 코드의 의해 1234 으로 변환되기에 실제로 member_info를 찾을 수 없으므로 에러가 발생되게 됩니다.

이 패치는 전화번호도 사용하며 아이디까지 같이 사용할 경우 전화번호로 들어갔을때 전화번호를 찾을 수 없는 경우 유저아이디를 통해서 한번 더 검사하여 로그인을 진행할 수 있게 해줍니다.
2022-10-18 06:20:19 +09:00
Kijin Sung
b1eee629a2 Fix unnecessary phone number verification when phone number is optional and user leaves it blank 2022-10-12 23:56:32 +09:00
Kijin Sung
81882e8420 Add option to use a specific string in the URL to bypass disabled signup page
회원 가입을 닫아놓은 상태에서는 관리자도 회원 가입 기능을 테스트할 수 없는
문제를 해소하기 위해, 관리자가 설정한 특정한 문자열을 URL에 포함할 경우
회원 가입 페이지에 접근할 수 있도록 허용하는 옵션 추가
2022-10-11 22:19:32 +09:00
Kijin Sung
c2bf7d65ce Automatically unregister device if the user logs out from mobile app 2022-10-11 01:04:22 +09:00
Kijin Sung
53cdc17c7f Obfuscate some login error messages #1957
- 로그인 실패시 아이디나 메일주소가 틀렸는지, 비번이 틀렸는지 구분하여 알려주지 않도록 변경
- 아이디/비번찾기시에는 불필요하게 세분화된 일부분만 정리하고 완전히 막지 않음
2022-07-03 01:43:15 +09:00
conory
0984b751e8 Apply cache even when the member does not exist
탈퇴한 회원을 계속 DB에서 찾는 문제 수정
2022-04-16 14:37:18 +09:00
conory
3c00ff1cc5 Fix wrong return value
$output->toBool()로 체크하는 서드파티에서 오류가 발생합니다. 항상 BaseObject()로 반환해야 합니다.
2022-03-24 15:02:38 +09:00