Integrate Discourse Connect (SSO) #129

Closed
raucao wants to merge 9 commits from feature/126_discourse_sso into feature/123-display_names
6 changed files with 6 additions and 6 deletions
Showing only changes of commit f829bb3379 - Show all commits
+1 -1
View File
@@ -1,5 +1,5 @@
class AccountController < ApplicationController class AccountController < ApplicationController
before_action :require_user_signed_in before_action :authenticate_user!
def index def index
@current_section = :account @current_section = :account
@@ -1,5 +1,5 @@
class Contributions::DonationsController < ApplicationController class Contributions::DonationsController < ApplicationController
before_action :require_user_signed_in before_action :authenticate_user!
# GET /donations # GET /donations
# GET /donations.json # GET /donations.json
@@ -1,5 +1,5 @@
class Contributions::ProjectsController < ApplicationController class Contributions::ProjectsController < ApplicationController
before_action :require_user_signed_in before_action :authenticate_user!
# GET /contributions # GET /contributions
def index def index
+1 -1
View File
@@ -1,5 +1,5 @@
class DashboardController < ApplicationController class DashboardController < ApplicationController
before_action :require_user_signed_in before_action :authenticate_user!
def index def index
@current_section = :services @current_section = :services
+1 -1
View File
@@ -1,5 +1,5 @@
class InvitationsController < ApplicationController class InvitationsController < ApplicationController
before_action :require_user_signed_in, except: ["show"] before_action :authenticate_user!, except: ["show"]
before_action :require_user_signed_out, only: ["show"] before_action :require_user_signed_out, only: ["show"]
# GET /invitations # GET /invitations
@@ -1,7 +1,7 @@
require "rqrcode" require "rqrcode"
class Services::LightningController < ApplicationController class Services::LightningController < ApplicationController
before_action :require_user_signed_in before_action :authenticate_user!
before_action :authenticate_with_lndhub before_action :authenticate_with_lndhub
before_action :set_current_section before_action :set_current_section
before_action :fetch_balance before_action :fetch_balance