mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 21:54:06 +00:00
Reject supporter codes if they're already used by another email
This commit is contained in:
parent
152e8a345d
commit
d6bda2f6dc
4 changed files with 47 additions and 5 deletions
|
|
@ -14,6 +14,5 @@ class Admin::SupportersController < ApplicationController
|
|||
supporter = SupporterRegistration.create!(params[:supporter_registration])
|
||||
flash[:notice] = "Supporter added"
|
||||
render :json => {"status" => "ok"}
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue