removed a useless variable
parent
fb4a1a2303
commit
f66a08ff60
|
@ -154,7 +154,7 @@ class AuthD::Service
|
||||||
return Response::Error.new "user not found"
|
return Response::Error.new "user not found"
|
||||||
end
|
end
|
||||||
|
|
||||||
password_hash = request.password.try do |s|
|
request.password.try do |s|
|
||||||
user.password_hash = hash_password s
|
user.password_hash = hash_password s
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue