File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1+ .php-cs-fixer.cache
12vendor
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ public function run()
2323 // we default on current stable Yunohost's version urls
2424 $ loginUrl = 'https:// ' .$ this ->params ->get ('yunohost_sso_domain ' ).'/yunohost/sso/login?r= ' .$ encodedUrl ;
2525 $ logoutUrl = 'https:// ' .$ this ->params ->get ('yunohost_sso_domain ' ).'/yunohost/portalapi/logout?referer_redirect ' ;
26- ;
27- if ($ majorYunohostVersion == '11 ' ) {
26+ ;
27+ if ($ majorYunohostVersion == '11 ' ) {
2828 // backward compatibility
2929 $ loginUrl = 'https:// ' .$ this ->params ->get ('yunohost_sso_domain ' ).'/yunohost/sso/?r= ' .$ encodedUrl ;
3030 $ logoutUrl = 'https:// ' .$ this ->params ->get ('yunohost_sso_domain ' ).'/yunohost/sso/?action=logout&r= ' .$ encodedUrl ;
@@ -38,7 +38,7 @@ public function run()
3838 $ this ->output
3939 );
4040 } else {
41- $ this ->output = '<a href=" ' ' .$ loginUrl .'" class="btn btn-default btn->
41+ $ this ->output = '<a href=" ' .$ loginUrl .'" class="btn btn-default btn->
4242 <i class="glyphicon glyphicon-user"></i> ' ._t ('LOGIN_LOGIN ' ).'</a> ' ;
4343 }
4444 }
You can’t perform that action at this time.
0 commit comments