]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/doorkeeper.rb
Move html_safe declaration for user_mailer from layout to helper
[rails.git] / config / initializers / doorkeeper.rb
index c1d4e2f783127b92ee028c6bebf2c2841efd3dbf..a2df9167f420d37da6f3ab263dbf98efaddc4701 100644 (file)
@@ -225,7 +225,7 @@ Doorkeeper.configure do
   # https://doorkeeper.gitbook.io/guides/ruby-on-rails/scopes
 
   # default_scopes  :public
-  optional_scopes(*Oauth::SCOPES, *Oauth::PRIVILEGED_SCOPES, *Oauth::OAUTH2_SCOPES)
+  optional_scopes(*Oauth::SCOPES, *Oauth::PRIVILEGED_SCOPES)
 
   # Allows to restrict only certain scopes for grant_type.
   # By default, all the scopes will be available for all the grant types.