Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd
commit
624289a112
|
@ -315,7 +315,6 @@ class AuthD::Service
|
||||||
return Response::Error.new "token does not match user"
|
return Response::Error.new "token does not match user"
|
||||||
end
|
end
|
||||||
|
|
||||||
pp! request.user, user.login, request.user == user.login
|
|
||||||
if user.login != request.user && user.uid != request.user
|
if user.login != request.user && user.uid != request.user
|
||||||
return Response::Error.new "token does not match user"
|
return Response::Error.new "token does not match user"
|
||||||
end
|
end
|
||||||
|
@ -616,7 +615,6 @@ class AuthD::Service
|
||||||
server.loop do |event|
|
server.loop do |event|
|
||||||
if event.is_a? IPC::Exception
|
if event.is_a? IPC::Exception
|
||||||
Baguette::Log.error "IPC::Exception"
|
Baguette::Log.error "IPC::Exception"
|
||||||
pp! event
|
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue