Skip to content

Commit

Permalink
Merge pull request #8 from MetroStar/update-email-text
Browse files Browse the repository at this point in the history
Update language- email domain mismatch
  • Loading branch information
kenafoster authored Feb 13, 2024
2 parents 1ef5eaf + 8fec001 commit 7b2c5f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@ async def validate_submission(request: Request, email: str = Form(...), coupon_c
return templates.TemplateResponse("index.html", {"url_prefix": url_prefix, "request": request, "error_message": "Unable to create user. Please try again later."})

else:
return templates.TemplateResponse("index.html", {"url_prefix": url_prefix, "request": request, "error_message": "Email address is not allowed. Please use a different email address."})
return templates.TemplateResponse("index.html", {"url_prefix": url_prefix, "request": request, "error_message": "Access to the platform is limited to accounts created with pre-approved email domains. The email address you provided when registering your account uses a domain that's not currently approved. Please contact the system administrator to request access."})
else:
return templates.TemplateResponse("index.html", {"url_prefix": url_prefix, "request": request, "error_message": "Invalid coupon code. Please try again."})
2 changes: 1 addition & 1 deletion src/nebari_plugin_self_registration/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.5"
__version__ = "0.0.6"
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.14
version: 0.0.15

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.0.5"
appVersion: "0.0.6"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image:
repository: ghcr.io/metrostar/nebari-self-registration
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "20240209-2042"
tag: "20240213-1718"

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 7b2c5f3

Please sign in to comment.