Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Having the login type set to USERNAME_ONLY would hide the login button #375

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions .versions
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[![Stories in Ready](https://badge.waffle.io/Differential/accounts-entry.png?label=ready&title=Ready)](https://waffle.io/Differential/accounts-entry)
# Meteor accounts-entry [![Build Status](https://travis-ci.org/Differential/accounts-entry.png)](https://travis-ci.org/Differential/accounts-entry)

**This is a temporary fork of accounts-entry pending the moment that differential will accept a pull-request enabling the login button to be functional again.**


accounts-entry is a meteor package that relies on Iron Router and provides an alternative interface to accounts-ui, with whole pages for sign up and sign in.

## Getting started
Expand Down
6 changes: 3 additions & 3 deletions client/views/signIn/signIn.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ <h3>{{t9n "signIn"}}</h3>
<div class="form-group">
<input name="password" type="password" class="form-control" value='{{password}}' placeholder="{{t9n 'password'}}">
</div>
{{#unless isUsernameOnly}}
<p><a href="{{pathFor 'entryForgotPassword'}}">{{t9n "forgotPassword"}}</a></p>
{{#unless isUsernameOnly}}
<p><a href="{{pathFor 'entryForgotPassword'}}">{{t9n "forgotPassword"}}</a></p>
{{/unless}}
<button type="submit" class="submit btn btn-block btn-default">{{t9n "signIn"}}</button>
{{/unless}}
</form>
{{/if}}
{{#if showCreateAccountLink}}
Expand Down
4 changes: 2 additions & 2 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package.describe({
summary: "Make signin and signout their own pages with routes.",
version: '1.0.3',
name: "joshowens:accounts-entry",
name: "noamyoungerm:accounts-entry",
githubUrl: 'https://github.com/Differential/accounts-entry',
});

Expand Down Expand Up @@ -94,7 +94,7 @@ Package.onTest(function (api) {
'coffeescript'
]);
api.use(['iron:router', 'softwarerero:accounts-t9n', 'joshowens:simple-form'], ['client', 'server']);
api.use('joshowens:accounts-entry');
api.use('noamyoungerm:accounts-entry');

api.addFiles(['tests/route.coffee', 'tests/client.html', 'tests/client.coffee'], 'client');
});