Skip to content
Snippets Groups Projects
Commit b746a931 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix OAuth authorization redirect

parent abb8f583
No related branches found
No related tags found
No related merge requests found
code {
font-family: 'Roboto Mono', monospace;
font-weight: 400;
}
.form-container {
max-width: 400px;
padding: 20px;
......@@ -85,18 +90,6 @@
}
}
code {
display: block;
font-family: 'Roboto Mono', monospace;
font-weight: 400;
font-size: 12px;
margin-top: 20px;
background: #282c37;
border-radius: 4px;
padding: 2px;
word-wrap: break-word;
}
.actions {
margin-top: 30px;
}
......
class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController
skip_before_action :authenticate_resource_owner!
before_action :store_current_location
before_action :authenticate_resource_owner!
private
......
%code= params[:code]
.flash-message
%code= params[:code]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment