Skip to content

Commit

Permalink
chore(register): 删除邀请码
Browse files Browse the repository at this point in the history
  • Loading branch information
booboosui committed Apr 28, 2024
1 parent db09ce1 commit 0818024
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion backend/app/controllers/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def register():
raise Exception("The current version does not support this feature")
else:
if invitation_code != INVITATION_CODE:
raise Exception(_("invitation code not right (Thank you for your interest. We will open registration after the beta testing phase.)"))
# raise Exception(_("invitation code not right (Thank you for your interest. We will open registration after the beta testing phase.)"))
pass
current_tenant = 0
tus = TenantUser.get_tenant_user_by_invite_email(email)
for tu in tus:
Expand Down
4 changes: 2 additions & 2 deletions frontend/user_register.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@

<div class="ui container" style="width: 600px;">
<div class="ui form">
<div class="field">
<!--div class="field">
<label><span class="f_invitation_code"></span></label>
<input type="text" id="login-invitation-code" placeholder="">
</div>
</div-->
<div class="field">
<label><span class="f_username"></span></label>
<input type="text" id="login-username" placeholder="">
Expand Down

0 comments on commit 0818024

Please sign in to comment.