Skip to content

Example "auth" is not working #35

@Speedy1991

Description

@Speedy1991
*.is_authenticated()

throwing:

File "/tmp/flask-admin/examples/auth/app.py", line 105, in index
    if not login.current_user.is_authenticated():
TypeError: 'bool' object is not callable

Fix:
Change all is_authenticated() to is_authenticated (in all *.py and *.html)

€dit: Tested with python2.7, 3.4 and 3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions