mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add OAuth2 authentication (#147)
- Added Site settings > Authentication section - Create/edit/delete your custom oauth2 configurations - Login or signup with oauth2
This commit is contained in:
committed by
GitHub
parent
3bda6dee08
commit
4c73b398e8
@@ -16,6 +16,10 @@ module App
|
||||
# -- all .rb files in that directory are automatically loaded after loading
|
||||
# the framework and any gems in your application.
|
||||
|
||||
def base_url
|
||||
ENV["BASE_URL"]
|
||||
end
|
||||
|
||||
def multi_tenancy?
|
||||
ENV["MULTI_TENANCY"] == "true"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user