Skip to content

Commit

Permalink
Fix make module work with other verificators (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurajaime committed May 11, 2023
1 parent 081ac7e commit cacbfd1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
@@ -1,6 +1,11 @@
= CHANGELOG

== 0.1.1 PATCH (2023-05-11)
- Make module work together with other verificators.

== 0.1.0 MINOR (2023-04-24)
(Crashes when enabled together with other verificators)

- Redirect user to where she was after verification.
- Refactor: Internal refactoring to simplify code, remove unneeded code.
- Refactor: Rename form to CsvEmailAuthorizationHandler.
Expand Down Expand Up @@ -28,4 +33,3 @@
== 0.0.5 BETA/MINOR (2018-11-26)
- Upgrade to Decidim v0.15.0
- Use more optimist versioning for future Decidim versions.

2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
decidim-verifications-csv_email (0.1.0)
decidim-verifications-csv_email (0.1.1)
decidim (>= 0.25.2)
decidim-admin (>= 0.25.2)
decidim-verifications (>= 0.25.2)
Expand Down
Expand Up @@ -14,7 +14,7 @@
<% if lookup_context.exists?(handler.to_partial_path, [], true) %>
<%= render partial: handler.to_partial_path, locals: { handler: handler, form: form } %>
<% else %>
<% form.object.email= current_user.email %>
<% form.object.email= current_user.email if handler.handler_name == "csv_email_authorization_handler" %>
<%= form.all_fields %>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion lib/decidim/verifications/csv_email/version.rb
Expand Up @@ -5,7 +5,7 @@ module Decidim
module Verifications
module CsvEmail
def self.version
"0.1.0"
"0.1.1"
end

def self.decidim_version
Expand Down

0 comments on commit cacbfd1

Please sign in to comment.