Skip to content

Commit

Permalink
[NEW SERVER] default url to easier install
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanogueira committed Sep 29, 2022
1 parent 9bad4d4 commit 0817043
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rocket_connect/instance/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ def new_connector(request, server_id):
def new_server(request):
form = NewServerForm(request.POST or None)
form.fields["admin_user_id"].required = True
form.fields["url"].initial = "http://rocketchat:3000"
form.fields["admin_user_token"].required = True
if form.is_valid():
server = form.save(commit=False)
Expand Down

0 comments on commit 0817043

Please sign in to comment.