hakanu/pervane

Unable to register user

Closed this issue ยท 12 comments

Hello,

I have installed pervane through pip and executed it for the first time as follows:

$ pervane --mode=init

Based on this section, I was expecting to be prompted with a registration form but I only get a login form where the only option is signing in. I tried starting up pervane with

$ pervane --mode=init --username vharisop --password mypassword

but the login form still would not accept these credentials (I cleared my cache and cookies before retrying).

Is there a user registration step that I'm missing? I'm running this on a Linux system.

thanks for the report. I slightly changed the login module (previous one got deprecated) so we don't have web registration any more due to non-open source practices required. Instead --mode=init is supposed to show you a prompt in the command line to enter username and password. Can you see that?
If not, I'm afraid i won't be able to fix because i'm out of town for an emergency. I will try to fix next week, sorry about that :/

Thanks for the response! For some reason, I was running an older version (0.0.94) and when I upgraded to version 0.1.3 I get the prompt about setting username and password. However, this time I get the following error after confirming my password:

Usage: flask fab create-admin [OPTIONS]
Try 'flask fab create-admin --help' for help.

Error: Could not import 'run_create_admin'.

No worries about fixing this early! I'm happy to provide any additional debugging information that you may need.

I have the same issue as well.

ACK. i've been rewriting the app server with django for better user management. I could not have managed to deploy to pypi ๐Ÿ˜ฎโ€๐Ÿ’จ

Bear with me for a week or so.

No worries, take your time. Good to know that you're still developing / maintaining this - thanks. ๐Ÿ‘

Yeah I use it daily in my computers all the time :)

But new users can not sign up. flask-user is removed from pypi for some reason a couple of months ago. Curse of open source world.

Hello, any updates on this?

yes this should be fixed with #5f13597

Please update the package with pip install pervane --upgrade. Usually pypi caches the version so you need to run this command twice to get the version which is at least 0.1.8
https://pypi.org/project/pervane/

New would-be user still cannot login after installation. Installed via pip.

What's the error you see?

Invalid username or password