mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: Suspended users cannot authenticate (#1849)
* fix: Suspended users cannot authenticate - Merge roles and apikey extract httpmw - Add member account to make dev - feat: UI Shows suspended error logging into suspended account - change 'active' route to 'activate'
This commit is contained in:
@@ -24,5 +24,10 @@ export CODER_DEV_ADMIN_PASSWORD=password
|
||||
trap 'kill 0' SIGINT
|
||||
CODERV2_HOST=http://127.0.0.1:3000 INSPECT_XSTATE=true yarn --cwd=./site dev &
|
||||
go run -tags embed cmd/coder/main.go server --dev --tunnel=true &
|
||||
|
||||
# Just a minor sleep to ensure the first user was created to make the member.
|
||||
sleep 2
|
||||
# || yes to always exit code 0. If this fails, whelp.
|
||||
go run cmd/coder/main.go users create --email=member@coder.com --username=member --password="${CODER_DEV_ADMIN_PASSWORD}" || yes
|
||||
wait
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user