Logout command

This commit is contained in:
Martin Lensment 2014-06-25 13:13:16 +03:00
parent b812ea384e
commit 44b257efa3
11 changed files with 90 additions and 1 deletions

View file

@ -17,4 +17,9 @@ class Epp::SessionsController < ApplicationController
render 'login_fail'
end
end
def logout
response.headers['X-EPP-Returncode'] = '1500'
render 'logout'
end
end