mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
- Added Site settings > Authentication section - Create/edit/delete your custom oauth2 configurations - Login or signup with oauth2
5 lines
210 B
Ruby
5 lines
210 B
Ruby
class SessionsController < Devise::SessionsController
|
|
# Needed to have Current.tenant available in Devise's controllers
|
|
prepend_before_action :load_tenant_data
|
|
before_action :load_oauths, only: [:new]
|
|
end |