mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
12 lines
349 B
Ruby
12 lines
349 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]
|
|
before_action :set_page_title, only: [:new]
|
|
|
|
private
|
|
|
|
def set_page_title
|
|
@page_title = t('common.forms.auth.log_in')
|
|
end
|
|
end |