Skip to content

Commit

Permalink
disable username change on account creation as well as profile manage…
Browse files Browse the repository at this point in the history
…ment. Skaffold tweak.
  • Loading branch information
culbert committed May 8, 2024
1 parent 4fbf3f7 commit 2e53125
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions apps/regapp/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ def __init__(self, *args, **kwargs):
class CreateAccountForm(forms.Form):
username = forms.CharField(
max_length=100,
label="Preferred Username"
# ,
# widget=forms.TextInput(attrs={"readonly":"readonly"})
label="Preferred Username",
widget=forms.TextInput(attrs={"readonly":"readonly"})
)
first_name = forms.CharField(
max_length=100,
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/regapp/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ build:
deploy:
kustomize:
paths:
- overlays/dev
- overlays/microk8s

kubeContext: nerc-minikube
kubeContext: k8sdev

0 comments on commit 2e53125

Please sign in to comment.