Code Monkey home page Code Monkey logo

Comments (4)

mattupstate avatar mattupstate commented on August 22, 2024

It's not exactly the recommended way. The Flask-Social example site does not redirect anywhere with a bad login. I for whatever reason that I can't remember, haven't overridden the Flask-Security template with my own. I'll fix that up as soon as I can.

The reason login does not redirect is because any form errors would not survive. They would have to be put in the session and I'm hesitant to do that. Perhaps an advanced option, such as a specifically named querystring variable or configuration option can enable redirecting after an HTTP POST to /login.

from flask-security.

doobeh avatar doobeh commented on August 22, 2024

I don't see this as a bug in Flask-Security, I'm just working on a test site with Flask-Security at the moment and if I put a bogus username in I get an error 'Specified User does not exist' as expected.

So if the problem does exist, it doesn't seem to be with Flask-Security.

from flask-security.

leematos avatar leematos commented on August 22, 2024

This was reported after a long night of coding. It needs to be closed as the real issue is only with the flask social example app not overriding the default template. Don't code while half asleep. :P

On Nov 16, 2012, at 5:45 PM, Anthony Plunkett [email protected] wrote:

I don't see this as a bug in Flask-Security, I'm just working on a test site with Flask-Security at the moment and if I put a bogus username in I get an error 'Specified User does not exist' as expected.

So if the problem does exist, it doesn't seem to be with Flask-Security.


Reply to this email directly or view it on GitHub.

from flask-security.

mattupstate avatar mattupstate commented on August 22, 2024

Ok! Thanks guys.

from flask-security.

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.