Skip to content

Commit

Permalink
Remove unused OAuth2 scope
Browse files Browse the repository at this point in the history
  • Loading branch information
user890104 committed Sep 8, 2023
1 parent 6cd86a5 commit 080e47c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/initializers/doorkeeper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
# https://doorkeeper.gitbook.io/guides/ruby-on-rails/scopes
#
default_scopes :public
optional_scopes :door_control, :account_data_read, :account_data_write
optional_scopes :door_control, :account_data_read

# Define scopes_by_grant_type to restrict only certain scopes for grant_type
# By default, all the scopes will be available for all the grant types.
Expand Down
3 changes: 1 addition & 2 deletions config/locales/doorkeeper.bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ bg:
doorkeeper:
scopes:
public: Достъпва публични данни
door_control: Заключване/отключване/отваряне на врати
account_data_read: Чете всички данни от акаунта ви
account_data_write: Променя всички данни от акаунта ви
door_control: Заключване/отключване/отваряне на врати
3 changes: 1 addition & 2 deletions config/locales/doorkeeper.en.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
doorkeeper:
scopes:
public: Access to any publicly accessible data
door_control: Lock/Unlock/Open doors
account_data_read: Read all of your account data
account_data_write: Update your account data
door_control: Lock/Unlock/Open doors

0 comments on commit 080e47c

Please sign in to comment.