Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Home screen gives incorrect default admin username #16

Closed
perryao opened this Issue · 7 comments

3 participants

@perryao

When you first launch sydjs, the home screen informs you that an admin account has been created with the email admin@keystonejs.com, when in fact it is admin@sydjs.com

@JedWatson JedWatson closed this in e616a4a
@JedWatson
Owner

Thanks for catching that! I've made the default account user@keystonejs.com / admin, in line with the yeoman generator and demo site so it's all consistent now.

@s2zaman

The email: user@keystonejs.com and the password: admin are still not working.

@JedWatson
Owner

@s2zaman I checked the update script /updates/0.0.1-admins.js and it looks like it's creating a user with the correct details...

Did you see a message about updates being applied when you started it for the first time? (and did you try with a new database?)

@s2zaman

When i run node keystone, it gives the following error. and keystone doesn't run.
When i set the 'auto update': true to false, the app is good to run.

KeystoneJS Update Error:

An updates folder must exist in your project root to use automatic updates.
If you want to use a custom path for your updates, set the updates option.
If you don't want to use updates, set the auto update option to false.
See http://keystonejs.com/docs/configuration/#updates for more information.

@JedWatson
Owner

Any chance you're on Windows? I think I may have just identified a platform-specific bug in the version of Keystone that was released yesterday...

The account details aren't working because they're added by the update, which you're disabling.

Immediate workaround is to set 'auto update': true and 'updates': 'updates' (see keystonejs/keystone#224)

@s2zaman

Yes, i am working on Windows 8.1, x64 based OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.