mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat: Initial Login flow (#42)
This just implements a basic sign-in flow, using the new endpoints in #29 :  This brings over several dependencies that are necessary: - `formik` - `yep` Ports over some v1 code to bootstrap it: - `FormTextField` - `PasswordField` - `CoderIcon` And implements basic sign-in: Fixes #37 Fixes #43 This does not implement it navbar integration (importantly - there is no way to sign out yet, unless you manually delete your `session_token`). I'll do that in the next PR - figured this was big enough to get reviewed.
This commit is contained in:
+12
-2
@@ -40,18 +40,28 @@
|
||||
"eslint-plugin-react": "7.28.0",
|
||||
"eslint-plugin-react-hooks": "4.3.0",
|
||||
"express": "4.17.2",
|
||||
"formik": "2.2.9",
|
||||
"http-proxy-middleware": "2.0.1",
|
||||
"jest": "27.4.7",
|
||||
"jest-runner-eslint": "1.0.0",
|
||||
"next": "12.0.7",
|
||||
"next-router-mock": "^0.6.5",
|
||||
"prettier": "2.5.1",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2",
|
||||
"sql-formatter": "^4.0.2",
|
||||
"swr": "1.1.2",
|
||||
"ts-jest": "27.1.2",
|
||||
"ts-loader": "9.2.6",
|
||||
"ts-node": "10.4.0",
|
||||
"typescript": "4.5.4"
|
||||
"typescript": "4.5.4",
|
||||
"yup": "0.32.11"
|
||||
},
|
||||
"dependencies": {}
|
||||
"dependencies": {},
|
||||
"browserslist": [
|
||||
"chrome 66",
|
||||
"firefox 63",
|
||||
"edge 79",
|
||||
"safari 13.1"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user