Skip to content

Conversation

@wlgns12370
Copy link
Contributor

✨ 구현한 기능

  • 비밀번호 패턴 대문자 필수 제거
  • 카카오 중복 유저 업데이트 분기

@coderabbitai
Copy link

coderabbitai bot commented Aug 22, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@wlgns12370 wlgns12370 merged commit e1419c8 into prod Aug 22, 2025
4 of 5 checks passed
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @wlgns12370, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 사용자 인증 및 계정 관리 로직을 개선합니다. 주요 변경 사항으로는 비밀번호 정책에서 대문자 필수 요구사항을 제거하여 사용자 편의성을 높이고, 카카오 OAuth를 통한 기존 사용자 처리 로직을 간소화하여 중복 사용자 업데이트 분기를 개선합니다. 또한, 불필요한 화이트리스트 엔드포인트를 제거하여 보안 및 코드 정리를 수행합니다.

Highlights

  • 비밀번호 정책 완화: 비밀번호 유효성 검사 패턴에서 대문자 포함 필수 조건을 제거하여 사용자가 더 유연하게 비밀번호를 설정할 수 있도록 변경했습니다. 이는 회원가입 및 비밀번호 변경 요청 DTO의 설명에도 반영되었습니다.
  • 카카오 OAuth 사용자 처리 개선: OAuth 로그인 시 기존 전화번호로 가입된 사용자를 처리하는 로직을 수정했습니다. 기존에는 카카오 사용자에 대한 별도 중복 처리 분기가 있었으나, 이제는 모수(Mosu) 사용자가 아닌 경우 기존 계정을 업데이트하도록 로직을 통합하고 간소화했습니다.
  • 불필요한 화이트리스트 엔드포인트 제거: 사용되지 않거나 임시로 추가되었던 /api/v1/master 엔드포인트를 시스템 화이트리스트에서 제거하여 코드베이스를 정리했습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

안녕하세요. 코드 변경 사항 잘 검토했습니다. 비밀번호 정책을 완화하고, 카카오 계정으로 로그인 시 중복 사용자를 처리하는 로직을 개선하는 등 중요한 변경이 포함되어 있네요. 전반적으로 코드의 명확성과 안정성이 향상된 것 같습니다. 한 가지 아쉬운 점은 PasswordPattern 어노테이션의 정규식은 변경되었지만, 어노테이션 자체의 기본 오류 메시지는 이전 정책을 그대로 따르고 있어 이를 수정하도록 코멘트를 남겼습니다. 이 부분을 반영하면 더욱 완성도 높은 코드가 될 것입니다.

import java.lang.annotation.Target;

@Pattern(regexp = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[!@#$%^&*_/+=])[A-Za-z\\d!@#$%^&*_/+=]{8,20}$", message = "비밀번호 형식이 올바르지 않습니다.")
@Pattern(regexp = "^(?=.*[A-Za-z])(?=.*\\d)(?=.*[!@#$%^&*_/+=])[A-Za-z\\d!@#$%^&*_/+=]{8,20}$", message = "비밀번호 형식이 올바르지 않습니다.")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

정규식에서 대소문자 구분이 제거된 변경사항은 잘 확인했습니다. 하지만 이 어노테이션의 기본 메시지는 아직 수정되지 않았습니다. 19행의 message() 기본값이 이전 정규식의 요구사항("영문 대/소문자")을 여전히 언급하고 있어, 이 어노테이션을 사용하는 다른 곳에서 혼동을 줄 수 있습니다. 현재 정규식과 일치하도록 수정하는 것이 좋겠습니다.

추천 수정안:

// line 19
String message() default "비밀번호는 8~20자의 영문, 숫자, 특수문자를 모두 포함해야 합니다.";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants