Skip to content

Commit

Permalink
fix: Make noSignUp work with login-fire, add email demo and fix bower…
Browse files Browse the repository at this point in the history
… v number
  • Loading branch information
sbeleidy committed Mar 7, 2017
1 parent 5b6b332 commit 309535a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "login-fire",
"version": "0.1.4",
"version": "0.1.5",
"authors": [
"Will in China <[email protected]>",
"Saad Elbeleidy <[email protected]>"
Expand Down
15 changes: 15 additions & 0 deletions demo/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@ <h3>Wide email-login-fire Demo</h3>
</demo-snippet>
</div>

<div class="vertical-section-container centered">
<h3>No signup email-login-fire Demo</h3>
<demo-snippet>
<template >
<firebase-app
name="noSignUpDemo"
api-key="AIzaSyAhoCXxkY-ffNwA_7L7HIwBVpASYj1btNE"
auth-domain="convoo-login-demo.firebaseapp.com"
database-url="https://convoo-login-demo.firebaseio.com">
</firebase-app>
<email-login-fire app-name="noSignUpDemo" no-sign-up></email-login-fire>
</template>
</demo-snippet>
</div>

<div class="vertical-section-container centered">
<h3>email-login-fire in modal demo </h3>
<demo-snippet>
Expand Down
8 changes: 8 additions & 0 deletions login-fire.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
password-reset-message="{{passwordResetMessage}}"
auto-sign-up="{{autoSignUp}}"
status-known="{{emailStatusKnown}}"
no-sign-up="[[noSignUp]]"
></email-login-fire>
</template>

Expand Down Expand Up @@ -299,6 +300,13 @@
value: false,
observer: '_horizontalChanged'
},
/**
* If true, SignUp will be hidden.
*/
noSignUp: {
type: Boolean,
value: false
},
_showDivider: {
type: Boolean,
computed: '_computeShowDivider(debug)'
Expand Down

0 comments on commit 309535a

Please sign in to comment.