Skip to content

Commit d1862e3

Browse files
authored
Allow users to signup with ENABLE_ACCOUNT_CREATION false.
The backend already works this way.
1 parent 883d75b commit d1862e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exceptionless.Web/ClientApp.angular/app/auth/signup-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148

149149
this.$onInit = function $onInit() {
150150
vm._source = "app.auth.Signup";
151-
vm._canSignup = !!ENABLE_ACCOUNT_CREATION;
151+
vm._canSignup = !!ENABLE_ACCOUNT_CREATION || !!$stateParams.token;
152152
vm.authenticate = authenticate;
153153
vm.isExternalLoginEnabled = isExternalLoginEnabled;
154154
vm.signup = signup;

0 commit comments

Comments
 (0)