Giter Club home page Giter Club logo

Comments (9)

sAlexander avatar sAlexander commented on July 27, 2024

Okay, and to add a bit to this:

If I open up the Django shell (I'm unfortunately quite unfamiliar with Django, but am trying to find my way around) and run the following commands:

from base.accounts import User u = User('username')
My username is properly returned.

Now if I:
u.check_password('password')
I get back
'User' object has no attribute 'password'.

I found this strange, so I tried:
u.set_password('password') u.save() u.check_password('password')

and I got back True! However, upon reloading (either the web console or the shell), the password would disappear.

Hopefully this additional information will be helpful, but please let me know if I can provide anything else.

from seahub.

xiez avatar xiez commented on July 27, 2024

Hi,

Can you login through web interface(http://localhost:8000/accounts/login/) using this username and password?

On Feb 19, 2013, at 7:24 AM, Spencer Alexander [email protected] wrote:

Okay, and to add a bit to this:

If I open up the Django shell (I'm unfortunately quite unfamiliar with Django, but am trying to find my way around) and run the following commands:

from base.accounts import User
u = User('username')
My username is properly returned.

Now if I:
u.check_password('password')
I get back
'User' object has no attribute 'password'.

I found this strange, so I tried:

u.set_password('password')
u.save()
u.check_password('password')

and I got back True! However, upon reloading (either the web console or the shell), the password would disappear.

Hopefully this additional information will be helpful, but please let me know if I can provide anything else.


Reply to this email directly or view it on GitHub.

from seahub.

xiez avatar xiez commented on July 27, 2024

You can also check seahub log files (/tmp/seahub.log, /tmp/seahub_django_request.log)

On Feb 19, 2013, at 10:48 AM, ZhengXie [email protected] wrote:

Hi,

Can you login through web interface(http://localhost:8000/accounts/login/) using this username and password?

On Feb 19, 2013, at 7:24 AM, Spencer Alexander [email protected] wrote:

Okay, and to add a bit to this:

If I open up the Django shell (I'm unfortunately quite unfamiliar with Django, but am trying to find my way around) and run the following commands:

from base.accounts import User
u = User('username')
My username is properly returned.

Now if I:
u.check_password('password')
I get back
'User' object has no attribute 'password'.

I found this strange, so I tried:

u.set_password('password')
u.save()
u.check_password('password')

and I got back True! However, upon reloading (either the web console or the shell), the password would disappear.

Hopefully this additional information will be helpful, but please let me know if I can provide anything else.


Reply to this email directly or view it on GitHub.

from seahub.

sAlexander avatar sAlexander commented on July 27, 2024

No, same error (sorry for short response, on mobile)

Hi,

Can you login through web interface(http://localhost:8000/accounts/login/)
using this username and password?

On Feb 19, 2013, at 7:24 AM, Spencer Alexander [email protected]
wrote:

Okay, and to add a bit to this:

If I open up the Django shell (I'm unfortunately quite unfamiliar with
Django, but am trying to find my way around) and run the following
commands:

from base.accounts import User
u = User('username')
My username is properly returned.

Now if I:
u.check_password('password')
I get back
'User' object has no attribute 'password'.

I found this strange, so I tried:

u.set_password('password')
u.save()
u.check_password('password')

and I got back True! However, upon reloading (either the web console or
the shell), the password would disappear.

Hopefully this additional information will be helpful, but please let me
know if I can provide anything else.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-13754218.

from seahub.

freeplant avatar freeplant commented on July 27, 2024

This may be caused by version mismatch between Seahub and Seafile. Where do you get Seahub?

from seahub.

freeplant avatar freeplant commented on July 27, 2024

We have also updated the address for 1.4.5 version of Seahub and Seafile. You can check https://github.com/haiwen/seafile/wiki/Build-and-deploy-seafile-server-from-source again.

from seahub.

freeplant avatar freeplant commented on July 27, 2024

I assume the problem is solved.

from seahub.

xiez avatar xiez commented on July 27, 2024

Current latest tar ball (seafile-server 1.4.5) is not able to login due to a version mismatch in ccnet and seahub, will be fixed shortly.

from seahub.

xiez avatar xiez commented on July 27, 2024

Fixed in seafile-server 1.5, see https://github.com/haiwen/seafile/wiki/Build-and-deploy-seafile-server-from-source

from seahub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.