Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit c31c320

Browse files
author
Felix Hammerl
committed
Merge pull request #381 from whiteout-io/WO-1000
Remove invite code from app
2 parents a346f16 + 7f49e69 commit c31c320

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ var CreateAccountCtrl = function($scope, $location, $routeParams, $q, auth, admi
5252
return admin.createUser({
5353
emailAddress: emailAddress,
5454
password: $scope.pass,
55-
phone: phone.internationalNumber,
56-
betaCode: $scope.betaCode.toUpperCase()
55+
phone: phone.internationalNumber
5756
});
5857

5958
}).then(function() {

src/tpl/create-account.html

-6
Original file line numberDiff line numberDiff line change
@@ -287,19 +287,13 @@ <h2 class="typo-title">Create Whiteout Account</h2>
287287
<input class="input-text" type="tel" ng-model="dial" required placeholder="Mobile phone (for SMS validation)" tabindex="5">
288288
</div>
289289
</div>
290-
<div class="form__row">
291-
<input class="input-text" type="text" ng-model="betaCode" required placeholder="Invitation code" tabindex="6">
292-
</div>
293290
<div class="spinner-block" ng-show="busy">
294291
<span class="spinner spinner--big"></span>
295292
</div>
296293
<div class="form__row">
297294
<button class="btn" type="submit" ng-click="showConfirm()">Create</button>
298295
</div>
299296
</form>
300-
<p class="typo-paragraph">
301-
<a href="http://eepurl.com/ba09in" target="_blank" title="Sign up for mailbox access.">Need an invitation code?</a>
302-
</p>
303297
</main>
304298
<div ng-include="'tpl/page-footer.html'"></div>
305299
</div>

0 commit comments

Comments
 (0)