Compare commits
3 Commits
1995e6dda2
...
27bb7d1bfe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27bb7d1bfe
|
||
|
|
1d44181fb5
|
||
|
|
de67f59d5c
|
@@ -31,6 +31,9 @@ class RemoteStorageAuthorization < ApplicationRecord
|
|||||||
def delete_token_from_redis
|
def delete_token_from_redis
|
||||||
key = "authorizations:#{user.cn}:#{token}"
|
key = "authorizations:#{user.cn}:#{token}"
|
||||||
redis.srem? key, redis.smembers(key)
|
redis.srem? key, redis.smembers(key)
|
||||||
|
rescue => e
|
||||||
|
Rails.logger.error e
|
||||||
|
Sentry.capture_exception(e) if Setting.sentry_enabled?
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
<h3>Chat Apps</h3>
|
<h3>Chat Apps</h3>
|
||||||
<p>
|
<p>
|
||||||
Use your account with many different apps, and on any devices you wish!
|
Use your account with many different apps, and on any devices you wish!
|
||||||
When opening an app for the first time, just enter your user address and
|
When opening an app for the first time, just enter your address and
|
||||||
password to log in.
|
password to log in.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ services:
|
|||||||
- ./tmp/minio:/data
|
- ./tmp/minio:/data
|
||||||
|
|
||||||
liquor-cabinet:
|
liquor-cabinet:
|
||||||
image: gitea.kosmos.org/5apps/liquor-cabinet:latest
|
image: gitea.kosmos.org/5apps/liquor-cabinet:2.0.0-beta.2
|
||||||
networks:
|
networks:
|
||||||
- external_network
|
- external_network
|
||||||
- internal_network
|
- internal_network
|
||||||
@@ -95,10 +95,13 @@ services:
|
|||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
REDIS_PORT: 6379
|
REDIS_PORT: 6379
|
||||||
REDIS_DB: 1
|
REDIS_DB: 1
|
||||||
S3_ENDPOINT: http://minio
|
S3_ENDPOINT: http://minio:9000
|
||||||
S3_ACCESS_KEY: dev-key
|
S3_ACCESS_KEY: dev-key
|
||||||
S3_SECRET_KEY: 123456789
|
S3_SECRET_KEY: 123456789
|
||||||
S3_BUCKET: remotestorage
|
S3_BUCKET: remotestorage
|
||||||
|
depends_on:
|
||||||
|
- minio
|
||||||
|
- redis
|
||||||
|
|
||||||
# phpldapadmin:
|
# phpldapadmin:
|
||||||
# image: osixia/phpldapadmin:0.9.0
|
# image: osixia/phpldapadmin:0.9.0
|
||||||
|
|||||||
Reference in New Issue
Block a user