Remove residual logic in captcha.ecr

This commit is contained in:
syeopite 2023-07-27 10:05:48 -07:00
parent 832c341fde
commit 8a24dd0e0f
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A

View File

@ -13,7 +13,6 @@
<input name="email" type="hidden" value="<%= HTML.escape(email) %>"> <input name="email" type="hidden" value="<%= HTML.escape(email) %>">
<input name="password" type="hidden" value="<%= HTML.escape(password) %>"> <input name="password" type="hidden" value="<%= HTML.escape(password) %>">
<% if captcha %>
<% case captcha_type when %> <% case captcha_type when %>
<% when "image" %> <% when "image" %>
<% captcha = captcha.not_nil! %> <% captcha = captcha.not_nil! %>
@ -52,13 +51,6 @@
</button> </button>
</label> </label>
<% end %> <% end %>
<% else %>
<div class="account-page-action-bar">
<button type="submit" name="action" value="signup" class="pure-button pure-button-primary" id="signup-button">
<%= translate(locale, "Sign Up") %>
</button>
</div>
<% end %>
</fieldset> </fieldset>
</form> </form>
</div> </div>