Check if db is writable on oauth authorization pages
This commit is contained in:
parent
86fae8980d
commit
5bb23f6f5f
2 changed files with 16 additions and 0 deletions
|
@ -7,4 +7,6 @@ class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
|
|||
allow_all_form_action :only => :new
|
||||
|
||||
authorize_resource :class => false
|
||||
|
||||
before_action :check_database_writable
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue