Code Monkey home page Code Monkey logo

vaunt's Issues

Login fails with Safari

Describe the bug

I've tested the /admin after creating the user on Firefox, Chrome and Safari. Turns out it works in ff and chrome, but just redirects to /auth/login. From what i've observed the very first request doesn't respond with the Set-Cookie, so the login/pass request is just ignored. I think this is a bug in vweb, but would be good to double check just in case at least to use vaunt as a reproducer.

Expected Behavior

auth works

Current Behavior

auth ignored

Reproduction Steps

$ v run main.v --create-superuser
$ v run main.v
$ open http://localhost:8080/admin

  • type admin / admin123 *

Possible Solution

No response

Additional Information/Context

No response

V version

V 0.4.0 ecca3b1

Environment details (OS name and version, etc.)

$ v doctor
V full version: V 0.4.0 ecca3b1
OS: macos, macOS, 13.4.1, 22F82
Processor: 10 cpus, 64bit, little endian, Apple M1 Max

getwd: /Users/pancake/prg/vaunt
vexe: /Users/pancake/prg/v/v
vexe mtime: 2023-08-01 22:30:20

vroot: OK, value: /Users/pancake/prg/v
VMODULES: OK, value: /Users/pancake/.vmodules
VTMP: OK, value: /tmp/v_501

Git version: git version 2.39.2 (Apple Git-143)
Git vroot status: weekly.2022.50-1292-gecca3b15
.git/config present: true

CC version: Apple clang version 14.0.3 (clang-1403.0.22.14.1)
thirdparty/tcc status: thirdparty-macos-arm64 a668e5a0

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.