Commit 5b7c1803 authored by Stan Hu's avatar Stan Hu

Merge branch 'dblessing-doorkeeper-hex-generator' into 'master'

Restore doorkeeper generator to hex due to breaking change

See merge request gitlab-org/gitlab!41169
parents 86668025 bbbf66b5
---
title: Restore doorkeeper generator to hex due to breaking change
merge_request: 41169
author:
type: fixed
...@@ -3,6 +3,10 @@ Doorkeeper.configure do ...@@ -3,6 +3,10 @@ Doorkeeper.configure do
# Currently supported options are :active_record, :mongoid2, :mongoid3, :mongo_mapper # Currently supported options are :active_record, :mongoid2, :mongoid3, :mongo_mapper
orm :active_record orm :active_record
# Restore to pre-5.1 generator due to breaking change.
# See https://gitlab.com/gitlab-org/gitlab/-/issues/244371
default_generator_method :hex
# This block will be called to check whether the resource owner is authenticated or not. # This block will be called to check whether the resource owner is authenticated or not.
resource_owner_authenticator do resource_owner_authenticator do
# Put your resource owner authentication logic here. # Put your resource owner authentication logic here.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment