mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Logout command
This commit is contained in:
parent
b812ea384e
commit
44b257efa3
11 changed files with 90 additions and 1 deletions
8
app/controllers/epp/commands_controller.rb
Normal file
8
app/controllers/epp/commands_controller.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
class Epp::CommandsController < ApplicationController
|
||||
include Epp::Common
|
||||
|
||||
private
|
||||
def create
|
||||
render '/epp/domains/create'
|
||||
end
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue