Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KAN-12] 자동완성 서버 개발 #9

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import java.security.SignatureException

@RestControllerAdvice
class GlobalExceptionHandler {

// asdasdsa
@ExceptionHandler(ServerException::class)
fun handleServerException(
ex: ServerException,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.restaurant.be.common.password
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder

object PasswordService {

private val encoder = BCryptPasswordEncoder()
fun hashPassword(password: String): String {
return encoder.encode(password)
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/restaurant/be/user/domain/entity/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ class User(
var id: Long? = null,

@Column(unique = true)
var email: String = "",
var email: String = "", // asdqwe

@Column(unique = true)
var nickname: String = "",
var nickname: String = "", // qwe

var password: String = "",

Expand Down
Loading