Some checks failed
Lock Threads / action (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Publish Chatwoot EE docker images / build (linux/amd64, ubuntu-latest) (push) Has been cancelled
Publish Chatwoot EE docker images / build (linux/arm64, ubuntu-22.04-arm) (push) Has been cancelled
Publish Chatwoot EE docker images / merge (push) Has been cancelled
Publish Chatwoot CE docker images / build (linux/amd64, ubuntu-latest) (push) Has been cancelled
Publish Chatwoot CE docker images / build (linux/arm64, ubuntu-22.04-arm) (push) Has been cancelled
Publish Chatwoot CE docker images / merge (push) Has been cancelled
Run Chatwoot CE spec / lint-backend (push) Has been cancelled
Run Chatwoot CE spec / lint-frontend (push) Has been cancelled
Run Chatwoot CE spec / frontend-tests (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (0, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (1, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (10, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (11, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (12, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (13, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (14, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (15, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (2, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (3, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (4, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (5, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (6, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (7, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (8, 16) (push) Has been cancelled
Run Chatwoot CE spec / backend-tests (9, 16) (push) Has been cancelled
Run Linux nightly installer / nightly (push) Has been cancelled
- Add Logistics component with progress tracking - Add OrderDetail component for order information - Support data-driven steps and actions - Add blue color scale to widget SCSS - Fix node overflow and progress bar rendering issues - Add English translations for dashboard components Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
53 lines
2.5 KiB
Ruby
53 lines
2.5 KiB
Ruby
DeviseTokenAuth.setup do |config|
|
|
# By default the authorization headers will change after each request. The
|
|
# client is responsible for keeping track of the changing tokens. Change
|
|
# this to false to prevent the Authorization header from changing after
|
|
# each request.
|
|
config.change_headers_on_each_request = false
|
|
|
|
# By default, users will need to re-authenticate after 2 weeks. This setting
|
|
# determines how long tokens will remain valid after they are issued.
|
|
config.token_lifespan = 2.months
|
|
|
|
# By default, old tokens are not invalidated when password is changed.
|
|
# Enable this option if you want to make passwords updates to logout other devices.
|
|
config.remove_tokens_after_password_reset = true
|
|
|
|
# Sets the max number of concurrent devices per user, which is 10 by default.
|
|
# After this limit is reached, the oldest tokens will be removed.
|
|
config.max_number_of_devices = 25
|
|
|
|
# Sometimes it's necessary to make several requests to the API at the same
|
|
# time. In this case, each request in the batch will need to share the same
|
|
# auth token. This setting determines how far apart the requests can be while
|
|
# still using the same auth token.
|
|
# config.batch_request_buffer_throttle = 5.seconds
|
|
|
|
# This route will be the prefix for all oauth2 redirect callbacks. For
|
|
# example, using the default '/omniauth', the github oauth2 provider will
|
|
# redirect successful authentications to '/omniauth/github/callback'
|
|
# config.omniauth_prefix = "/omniauth"
|
|
|
|
# By default sending current password is not needed for the password update.
|
|
# Uncomment to enforce current_password param to be checked before all
|
|
# attribute updates. Set it to :password if you want it to be checked only if
|
|
# password is updated.
|
|
# config.check_current_password_before_update = :attributes
|
|
|
|
# By default we will use callbacks for single omniauth.
|
|
# It depends on fields like email, provider and uid.
|
|
# config.default_callbacks = true
|
|
|
|
# Makes it possible to change the headers names
|
|
# config.headers_names = {:'access-token' => 'access-token',
|
|
# :'client' => 'client',
|
|
# :'expiry' => 'expiry',
|
|
# :'uid' => 'uid',
|
|
# :'token-type' => 'token-type' }
|
|
|
|
# By default, only Bearer Token authentication is implemented out of the box.
|
|
# If, however, you wish to integrate with legacy Devise authentication, you can
|
|
# do so by enabling this flag. NOTE: This feature is highly experimental!
|
|
# config.enable_standard_devise_support = false
|
|
end
|