mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
fix for 2023.04.08
This commit is contained in:
parent
37a1266153
commit
d68f3298b1
1 changed files with 8 additions and 7 deletions
|
@ -2,12 +2,13 @@ diff --git a/app/controllers/application_controller.rb b/app/controllers/applica
|
||||||
index 7c36bc6b8..3f691d102 100644
|
index 7c36bc6b8..3f691d102 100644
|
||||||
--- a/app/controllers/application_controller.rb
|
--- a/app/controllers/application_controller.rb
|
||||||
+++ b/app/controllers/application_controller.rb
|
+++ b/app/controllers/application_controller.rb
|
||||||
@@ -70,7 +70,7 @@ class ApplicationController < ActionController::Base
|
@@ -68,7 +68,7 @@ class ApplicationController < ActionController::Base
|
||||||
end
|
if ENV['OMNIAUTH_ONLY'] == 'true' && ENV['OIDC_ENABLED'] == 'true'
|
||||||
|
'/auth/auth/openid_connect/logout'
|
||||||
def after_sign_out_path_for(_resource_or_scope)
|
else
|
||||||
- new_user_session_path
|
- new_user_session_path
|
||||||
+ "https://#{File.read('/etc/yunohost/current_host')}/yunohost/sso/?action=logout"
|
+ "https://#{File.read('/etc/yunohost/current_host')}/yunohost/sso/?action=logout"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def pack(data, pack_name, skin = 'default')
|
def pack(data, pack_name, skin = 'default')
|
||||||
|
|
Loading…
Reference in a new issue