Browse Source

Merge pull request #381 from whiteout-io/WO-1000

Remove invite code from app
master
Felix Hammerl 8 years ago
parent
commit
c31c320e83
  1. 3
      src/js/controller/login/create-account.js
  2. 6
      src/tpl/create-account.html

3
src/js/controller/login/create-account.js

@ -52,8 +52,7 @@ var CreateAccountCtrl = function($scope, $location, $routeParams, $q, auth, admi @@ -52,8 +52,7 @@ var CreateAccountCtrl = function($scope, $location, $routeParams, $q, auth, admi
return admin.createUser({
emailAddress: emailAddress,
password: $scope.pass,
phone: phone.internationalNumber,
betaCode: $scope.betaCode.toUpperCase()
phone: phone.internationalNumber
});
}).then(function() {

6
src/tpl/create-account.html

@ -287,9 +287,6 @@ @@ -287,9 +287,6 @@
<input class="input-text" type="tel" ng-model="dial" required placeholder="Mobile phone (for SMS validation)" tabindex="5">
</div>
</div>
<div class="form__row">
<input class="input-text" type="text" ng-model="betaCode" required placeholder="Invitation code" tabindex="6">
</div>
<div class="spinner-block" ng-show="busy">
<span class="spinner spinner--big"></span>
</div>
@ -297,9 +294,6 @@ @@ -297,9 +294,6 @@
<button class="btn" type="submit" ng-click="showConfirm()">Create</button>
</div>
</form>
<p class="typo-paragraph">
<a href="http://eepurl.com/ba09in" target="_blank" title="Sign up for mailbox access.">Need an invitation code?</a>
</p>
</main>
<div ng-include="'tpl/page-footer.html'"></div>
</div>

Loading…
Cancel
Save