Commit graph

575 commits

Author SHA1 Message Date
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
Kijin Sung
7b46deb973 Fix #1886 clean up incorrect use of getMemberInfo* methods 2022-03-14 01:40:43 +09:00
Kijin Sung
23f7568e74 Separate device-related actions to own class; add procMemberUnregisterDevice 2022-02-06 22:29:14 +09:00
Kijin Sung
5ed1b43786 Fix #1847 support logging in with 'email_address' or 'phone_number' input name if they are allowed as identifier 2022-02-04 22:24:03 +09:00
Kijin Sung
8d67f80283 Make profile image force aspect ratio setting confugurable 2022-01-28 16:14:44 +09:00
Kijin Sung
8d1dd026ef Fix #1660 #1826 limit SMS auth attempts from same IP 2021-12-31 14:56:30 +09:00
Kijin Sung
ff2e04fb8f Store auth SMS in DB #1826 #1660 2021-12-31 14:36:41 +09:00
Kijin Sung
5f8f7acced Prevent sending SMS to phone number that has already been registered #1826
+ Clean up some error messages
2021-12-31 14:25:44 +09:00
Kijin Sung
d8ae1d8d1a Fix #1809 remove unnecessary error code after scrap 2021-12-31 01:44:06 +09:00
Kijin Sung
42442aeef7 헤더 또는 쿠키로 device token과 device key를 주고받을 수 있도록 허용하고, 중복 코드 정리 (#1325 보완)
요청 헤더: X-Device-Token
응답 헤더: X-Device-Key (포맷: member_srl:device_key)

요청 쿠키: device_token
응답 쿠키: device_key (포맷: member_srl:device_key) (유효기간 1분)
2021-11-26 01:52:15 +09:00
Kijin Sung
aa9af45207 회원가입 및 로그인시 device token과 device key를 헤더로 주고받을 수 있도록 지원 (#1325 보완)
요청 헤더: X-Device-Token
응답 헤더: X-Registered-Member-Srl, X-Registered-Device-Key
2021-11-24 16:22:30 +09:00
Kijin Sung
3ece3ed7a4 다른 액션에서 procMemberRegisterDevice를 호출한 경우에는 response method를 건드리지 않도록 변경 2021-11-24 15:35:24 +09:00
Kijin Sung
cb16e7a293 Don't update admin extra vars in procMemberModifyInfo 2021-10-08 01:35:21 +09:00
Kijin Sung
605d8da7ee Fix #1797 also apply #1713 patch to procMemberModifyInfo 2021-10-08 01:28:59 +09:00
Kijin Sung
a743ee9427 Update member cache when profile image, signature, etc. are updated independently 2021-09-27 16:47:19 +09:00
conory
ca5eb517cf 스패머 처리시 댓글이 휴지통으로 들어가지 않는 문제 수정
스패머 처리시 휴지통 이동을 기본값으로 함
2021-09-04 01:47:47 +09:00