summaryrefslogtreecommitdiff
path: root/auth.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.go b/auth.go
index fd8b482..e1a664d 100644
--- a/auth.go
+++ b/auth.go
@@ -238,7 +238,7 @@ func handleAuth(w http.ResponseWriter, req *http.Request) {
*/
_, err = db.Exec(
req.Context(),
- "INSERT INTO users (id, name, email, department, session, expr) VALUES ($1, $2, $3, $4, $5, $6)",
+ "INSERT INTO users (id, name, email, department, session, expr, confirmed) VALUES ($1, $2, $3, $4, $5, $6, false)",
claims.Oid,
claims.Name,
claims.Email,