Sha256: e074586778ee48175d58fd1aa2a32ad576c7f30cde8e4fd955e10321808ec6b7
Contents?: true
Size: 593 Bytes
Versions: 2
Compression:
Stored size: 593 Bytes
Contents
# frozen_string_literal: true module Decidim module Mpassid module Verification class AuthorizationsController < ::Decidim::ApplicationController skip_before_action :store_current_location def new # Do enforce the permission here because it would cause # re-authorizations not to work as the authorization already exists. # In case the user wants to re-authorize themselves, they can just # hit this endpoint again. redirect_to decidim.user_mpassid_omniauth_authorize_path end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems