GithubHelp home page GithubHelp logo

flask_auth_scotch's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flask_auth_scotch's Issues

Error while running code

Hi,
I run the code using flask run and i got this message error: flask.cli.NoAppException: Could not import "project.project".
Do you have any idea to fix it?

Thanks !!

i got error while running auth.py file

File "C:\Users\alam jamal\Desktop\project\auth.py", line 13, in from .models import User
ModuleNotFoundError: No module named 'main.models'; 'main' is not a package

flask-login is missing in Pipfile

One should add flask-login to the Pipfile, else when activating the pipenv he'd get a ModuleNotFoundError.

Please resolve by running: pipenv install flask-login.

can call login page, while I am already login

I already login and it not show login page but I can call localhost:5000/login in new Tab and can login with different user account. How can I disabled login page while I am login. ( I mean can not call login page in new Tab)

No license?

I'd like to build a tutorial doing passwordless login on top of this one, but the code isn't OSS licensed. Is that deliberate or just an oversight/not got around to it yet?

Where does "Please log in to access this page." message come from?

Hi, I am using this as a learning example, but there is one thing that I don't understand: When I access a url like /profile without being logged in, it redirects to the login page and displays " "Please log in to access this page.". I can find all the other flashed messages in the code, but not this one. Where is that message coming from? Is it part of flask_login?

image

Missing name attribute for checkbox in login.html

The remember me cookie won't ever be set because the "Remember Me" checkbox is missing the name attribute in login.html line 30:
<input type="checkbox">

It should be changed to:
<input type="checkbox" name="remember">

Why? Because line 19 in auth.py looks for an element by name "remember":
remember = True if request.form.get('remember') else False

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.